Commit a2bd5197 authored by Philip Jenvey's avatar Philip Jenvey

py3 compat

parent 7f51a843
...@@ -288,9 +288,9 @@ res = f() ...@@ -288,9 +288,9 @@ res = f()
yield 5 yield 5
raise # should raise "no active exception to re-raise" raise # should raise "no active exception to re-raise"
gen = f() gen = f()
gen.next() # --> 5 next(gen) # --> 5
try: try:
gen.next() next(gen)
except TypeError: except TypeError:
pass 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