Commit 3446365c authored by Tim Peters's avatar Tim Peters

Repair flawed example.

parent c4889c49
...@@ -47,7 +47,7 @@ Let's try a simple generator: ...@@ -47,7 +47,7 @@ Let's try a simple generator:
>>> def f(): >>> def f():
... yield 1 ... yield 1
... return ... raise StopIteration
... yield 2 # never reached ... yield 2 # never reached
... ...
>>> g = f() >>> g = f()
......
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