From 61cf780b6dba2f1381391a9a7d406a12d7a415da Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 10 Aug 2001 21:25:24 +0000 Subject: The message accompanying the TypeError exception on a readonly attribute changed again. --- 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 72a70ec..2476a27 100644 --- a/Lib/test/test_generators.py +++ b/Lib/test/test_generators.py @@ -405,7 +405,7 @@ And more, added later. >>> i.gi_running = 42 Traceback (most recent call last): ... -TypeError: 'generator' object has only read-only attributes (assign to .gi_running) +TypeError: readonly attribute >>> def g(): ... yield me.gi_running >>> me = g() -- cgit v0.12