Repair flawed example.

This commit is contained in:
Tim Peters 2001-07-12 22:43:41 +00:00
parent c4889c496a
commit 3446365c37
1 changed files with 1 additions and 1 deletions

View File

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