]> granicus.if.org Git - python/commit
Patch by Mozhe Zadka, for __contains__ (overloading 'in'). This adds
authorGuido van Rossum <guido@python.org>
Mon, 28 Feb 2000 15:00:40 +0000 (15:00 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 28 Feb 2000 15:00:40 +0000 (15:00 +0000)
commitcecb27a49ca1285fc6fb3190d52768abf85847d1
tree7a1d673f88492988f7afe429b785c8fb4e5dbb4a
parent84a74595f784c5a6f8138bed0235a5b86d175edb
Patch by Mozhe Zadka, for __contains__ (overloading 'in').  This adds
a new proc type (objobjproc), a new slot sq_contains to
PySequenceMethods, and a new flag Py_TPFLAGS_HAVE_SEQUENCE_IN to
Py_TPFLAGS_DEFAULT.  More to follow.
Include/object.h