diff options
author | Guido van Rossum <guido@python.org> | 2000-02-28 15:03:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-02-28 15:03:15 (GMT) |
commit | ee28c3a5eae41a9b349ebbe7c4583d6a36a1984c (patch) | |
tree | c4649ad95fd8bec8f063668d741acd8b1b5e6bc5 /Lib/code.py | |
parent | 46c6b20392ba48280701f132321a06a1699429e9 (diff) | |
download | cpython-ee28c3a5eae41a9b349ebbe7c4583d6a36a1984c.zip cpython-ee28c3a5eae41a9b349ebbe7c4583d6a36a1984c.tar.gz cpython-ee28c3a5eae41a9b349ebbe7c4583d6a36a1984c.tar.bz2 |
Patch by Mozhe Zadka, for __contains__ (overloading 'in'). This adds
an instance method instance_contains as sq_contains. It looks for
__contains__ and if not found falls back to previous behaviour.
Done.
Diffstat (limited to 'Lib/code.py')
0 files changed, 0 insertions, 0 deletions