diff options
author | Guido van Rossum <guido@python.org> | 2001-09-14 17:51:50 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-09-14 17:51:50 (GMT) |
commit | f21c6be7bd41609a4bc11f6a900da01f70be3258 (patch) | |
tree | f868bf3aac2ef6b09195cd24c41e88d594c3187f /Lib/compiler/consts.py | |
parent | f2a5f3f721cc13624ee65b97890525c0a358cb9b (diff) | |
download | cpython-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