diff options
author | Barry Warsaw <barry@python.org> | 2001-08-14 18:22:24 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-08-14 18:22:24 +0000 |
commit | 5ef99a0bc56a3abfa6fdbbd47c10aef523833352 (patch) | |
tree | e97953293dc45cc1b36b3ee39899f1396f666c54 /Lib/compiler/ast.py | |
parent | 680cabb2250ed2359d93369e48011a9e376fe18d (diff) | |
download | cpython-git-5ef99a0bc56a3abfa6fdbbd47c10aef523833352.tar.gz |
Describe the new semantics for setting and deleting a function's
__dict__ attribute. Deleting it, or setting it to a non-dictionary
result in a TypeError. Note that getting it the first time magically
initializes it to an empty dict so that func.__dict__ will always
appear to be a dictionary (never None).
Closes SF bug #446645.
Diffstat (limited to 'Lib/compiler/ast.py')
0 files changed, 0 insertions, 0 deletions