mirror of https://github.com/python/cpython.git
Repair flawed example.
This commit is contained in:
parent
c4889c496a
commit
3446365c37
|
@ -47,7 +47,7 @@
|
|||
|
||||
>>> def f():
|
||||
... yield 1
|
||||
... return
|
||||
... raise StopIteration
|
||||
... yield 2 # never reached
|
||||
...
|
||||
>>> g = f()
|
||||
|
|
Loading…
Reference in New Issue