mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
The message accompanying the TypeError exception on a readonly
attribute changed again.
This commit is contained in:
parent
13d52f0b32
commit
61cf780b6d
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue