Commit a2bd5197 authored by Philip Jenvey's avatar Philip Jenvey

py3 compat

parent 7f51a843
......@@ -288,9 +288,9 @@ res = f()
yield 5
raise # should raise "no active exception to re-raise"
gen = f()
gen.next() # --> 5
next(gen) # --> 5
try:
gen.next()
next(gen)
except TypeError:
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment