summaryrefslogtreecommitdiffstats
path: root/Objects/classobject.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-02-26 18:07:26 (GMT)
committerBarry Warsaw <barry@python.org>2001-02-26 18:07:26 (GMT)
commitc1e100f2154810c173bc53015e0b9eabbce56555 (patch)
tree88fc19bb01ae4e7c0b1fbab2b3383a9598c7052d /Objects/classobject.c
parent75ee8f54fac7cdc38e70541f2857e60fae675a70 (diff)
downloadcpython-c1e100f2154810c173bc53015e0b9eabbce56555.zip
cpython-c1e100f2154810c173bc53015e0b9eabbce56555.tar.gz
cpython-c1e100f2154810c173bc53015e0b9eabbce56555.tar.bz2
Additional tests for current, PEP described semantics:
- func.__dict__ is None until the first attribute is assigned - del func.__dict__ is equivalent to func.__dict__ = None - disallowing assignment to function attribute through unbound method (it was always illegal to assign through bound method). - verifying that setting attribute explicitly on underlying function via meth.im_func is okay.
Diffstat (limited to 'Objects/classobject.c')
0 files changed, 0 insertions, 0 deletions