Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 168 Bytes
import sys
PY3 = sys.version_info[0] == 3
try:
next = next
except NameError: # pragma: no cover
# for Python 2.5
def next(gen):
return gen.next()