summaryrefslogtreecommitdiffstats
path: root/RISCOS/Makefile
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-12-10 18:00:15 (GMT)
committerGuido van Rossum <guido@python.org>2001-12-10 18:00:15 (GMT)
commitb75ba918d6f8e9744c7da4660721a0058a6968a5 (patch)
tree087d9b233fb67d8e73013abd6264b32e742d825a /RISCOS/Makefile
parent6048ce95a94ee4527799d7c2fe43ffa43fa64990 (diff)
downloadcpython-b75ba918d6f8e9744c7da4660721a0058a6968a5.zip
cpython-b75ba918d6f8e9744c7da4660721a0058a6968a5.tar.gz
cpython-b75ba918d6f8e9744c7da4660721a0058a6968a5.tar.bz2
property_descr_get(): Fix a curious bug in the property() type: when
no get function was defined, the property's doc string was inaccessible. This was because the test for prop_get was made *before* the test for a NULL/None object argument. Also changed the property class defined in Python in a comment to test for NULL to decide between get and delete; this makes it less Python but then, assigning None to a property doesn't delete it!
Diffstat (limited to 'RISCOS/Makefile')
0 files changed, 0 insertions, 0 deletions