summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-02-26 18:09:15 (GMT)
committerBarry Warsaw <barry@python.org>2001-02-26 18:09:15 (GMT)
commit4f9b13bac8335d4614499673a3349b2c97401f12 (patch)
tree131ca9bfc62f72f2768b1b5ed8ea9a77deb00397 /Modules
parentc1e100f2154810c173bc53015e0b9eabbce56555 (diff)
downloadcpython-4f9b13bac8335d4614499673a3349b2c97401f12.zip
cpython-4f9b13bac8335d4614499673a3349b2c97401f12.tar.gz
cpython-4f9b13bac8335d4614499673a3349b2c97401f12.tar.bz2
instancemethod_setattro(): Raise TypeError if an attempt is made to
set a function attribute on a method (either bound or unbound). This reverts to Python 2.0 behavior that no attributes of the method are writable, but provides a more informative error message.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions