projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13d52f0
)
The message accompanying the TypeError exception on a readonly
author
Guido van Rossum
<guido@python.org>
Fri, 10 Aug 2001 21:25:24 +0000
(21:25 +0000)
committer
Guido van Rossum
<guido@python.org>
Fri, 10 Aug 2001 21:25:24 +0000
(21:25 +0000)
attribute changed again.
Lib/test/test_generators.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_generators.py
b/Lib/test/test_generators.py
index 72a70ec4713b6d59ed3a53355387346a7e79befd..2476a275f9d94650ef2d2efa2fad0e241c1fb97b 100644
(file)
--- 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()