python2.5 compatibillity

This commit is contained in:
David Halter
2012-04-09 18:47:47 +02:00
parent b8f6f2267b
commit f0c00e4ff7
6 changed files with 17 additions and 10 deletions

View File

@@ -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