diff options
author | Barry Warsaw <barry@python.org> | 2001-08-14 18:35:02 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-08-14 18:35:02 (GMT) |
commit | 9b3be7f5d9084dce06d6dec3657e649f9769ecc8 (patch) | |
tree | 2ce1ee7868b5fa93005bbb439a01802827866649 /Tools | |
parent | 033daa49eafae52f0b88085117e1bdf1cff2fe16 (diff) | |
download | cpython-9b3be7f5d9084dce06d6dec3657e649f9769ecc8.zip cpython-9b3be7f5d9084dce06d6dec3657e649f9769ecc8.tar.gz cpython-9b3be7f5d9084dce06d6dec3657e649f9769ecc8.tar.bz2 |
Document 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 'Tools')
0 files changed, 0 insertions, 0 deletions