summaryrefslogtreecommitdiffstats
path: root/Lib/code.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-02-28 15:03:15 (GMT)
committerGuido van Rossum <guido@python.org>2000-02-28 15:03:15 (GMT)
commitee28c3a5eae41a9b349ebbe7c4583d6a36a1984c (patch)
treec4649ad95fd8bec8f063668d741acd8b1b5e6bc5 /Lib/code.py
parent46c6b20392ba48280701f132321a06a1699429e9 (diff)
downloadcpython-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