From 3446365c37811571d1139fe07166e7bfcb6ba35c Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Thu, 12 Jul 2001 22:43:41 +0000 Subject: [PATCH] Repair flawed example. --- Lib/test/test_generators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py index a5b2c377700..5bad79a6cb0 100644 --- a/Lib/test/test_generators.py +++ b/Lib/test/test_generators.py @@ -47,7 +47,7 @@ >>> def f(): ... yield 1 - ... return + ... raise StopIteration ... yield 2 # never reached ... >>> g = f()