compatibility file mainly for python 2.5

This commit is contained in:
David Halter committed 2012-04-22 14:30:55 +02:00
1 parent 5ee597be82
commit 39a4014a95
1 file changed
+7
+7
View File
@@ -0,0 +1,7 @@
# python2.5 compatibility
try:
next = next
except NameError:
def next(obj):
return obj.next()