Commit d4c6d7bd authored by Guido van Rossum's avatar Guido van Rossum

The message accompanying the TypeError exception on a readonly

attribute changed again.
parent 77ee7eec
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment