diff --git a/_compatibility.py b/_compatibility.py new file mode 100644 index 00000000..67b5be8d --- /dev/null +++ b/_compatibility.py @@ -0,0 +1,7 @@ + +# python2.5 compatibility +try: + next = next +except NameError: + def next(obj): + return obj.next()