mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-16 01:32:36 +08:00
compatibility file mainly for python 2.5
This commit is contained in:
1 parent
5ee597be82
commit
39a4014a95
1 file changed
+7
@@ -0,0 +1,7 @@
|
||||
|
||||
# python2.5 compatibility
|
||||
try:
|
||||
next = next
|
||||
except NameError:
|
||||
def next(obj):
|
||||
return obj.next()
|
||||
Reference in new issue
Block a user