summaryrefslogtreecommitdiffstats
path: root/Lib/compiler/consts.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-09-14 17:51:50 (GMT)
committerGuido van Rossum <guido@python.org>2001-09-14 17:51:50 (GMT)
commitf21c6be7bd41609a4bc11f6a900da01f70be3258 (patch)
treef868bf3aac2ef6b09195cd24c41e88d594c3187f /Lib/compiler/consts.py
parentf2a5f3f721cc13624ee65b97890525c0a358cb9b (diff)
downloadcpython-f21c6be7bd41609a4bc11f6a900da01f70be3258.zip
cpython-f21c6be7bd41609a4bc11f6a900da01f70be3258.tar.gz
cpython-f21c6be7bd41609a4bc11f6a900da01f70be3258.tar.bz2
Add call_maybe(): a variant of call_method() that returns
NotImplemented when the lookup fails, and use this for binary operators. Also lookup_maybe() which doesn't raise an exception when the lookup fails (still returning NULL).
Diffstat (limited to 'Lib/compiler/consts.py')
0 files changed, 0 insertions, 0 deletions