The message accompanying the TypeError exception on a readonly
attribute changed again.
This commit is contained in:
parent
13d52f0b32
commit
61cf780b6d
@ -405,7 +405,7 @@ And more, added later.
|
|||||||
>>> i.gi_running = 42
|
>>> i.gi_running = 42
|
||||||
Traceback (most recent call last):
|
Traceback (most recent call last):
|
||||||
...
|
...
|
||||||
TypeError: 'generator' object has only read-only attributes (assign to .gi_running)
|
TypeError: readonly attribute
|
||||||
>>> def g():
|
>>> def g():
|
||||||
... yield me.gi_running
|
... yield me.gi_running
|
||||||
>>> me = g()
|
>>> me = g()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user