mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
python2.5 compatibillity
This commit is contained in:
@@ -6,6 +6,13 @@ follow_statement -> follow_call -> follow_paths -> follow_path
|
||||
|
||||
TODO include super classes
|
||||
"""
|
||||
# python2.5 compatibility
|
||||
try:
|
||||
next
|
||||
except NameError:
|
||||
def next(obj):
|
||||
return obj.next()
|
||||
|
||||
import itertools
|
||||
|
||||
import parsing
|
||||
|
||||
Reference in New Issue
Block a user