Repair flawed example.
This commit is contained in:
parent
c4889c496a
commit
3446365c37
|
@ -47,7 +47,7 @@ Let's try a simple generator:
|
|||
|
||||
>>> def f():
|
||||
... yield 1
|
||||
... return
|
||||
... raise StopIteration
|
||||
... yield 2 # never reached
|
||||
...
|
||||
>>> g = f()
|
||||
|
|
Loading…
Reference in New Issue