diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-07-12 22:43:41 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-07-12 22:43:41 (GMT) |
commit | 3446365c37811571d1139fe07166e7bfcb6ba35c (patch) | |
tree | 5a4dfccdc4791c9a9defc66d53383975fb717a5d /Lib/test | |
parent | c4889c496ade6a1529a74054f8fcc2847d8cd0bb (diff) | |
download | cpython-3446365c37811571d1139fe07166e7bfcb6ba35c.zip cpython-3446365c37811571d1139fe07166e7bfcb6ba35c.tar.gz cpython-3446365c37811571d1139fe07166e7bfcb6ba35c.tar.bz2 |
Repair flawed example.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_generators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py index a5b2c37..5bad79a 100644 --- a/Lib/test/test_generators.py +++ b/Lib/test/test_generators.py @@ -47,7 +47,7 @@ Let's try a simple generator: >>> def f(): ... yield 1 - ... return + ... raise StopIteration ... yield 2 # never reached ... >>> g = f() |