commit | cecb27a49ca1285fc6fb3190d52768abf85847d1 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Feb 28 15:00:40 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Feb 28 15:00:40 2000 +0000 |
tree | 7a1d673f88492988f7afe429b785c8fb4e5dbb4a | |
parent | 84a74595f784c5a6f8138bed0235a5b86d175edb [diff] |
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.