]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
* Added a new method flag, METH_COEXIST.
authorRaymond Hettinger <python@rcn.com>
Sat, 13 Dec 2003 11:26:12 +0000 (11:26 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 13 Dec 2003 11:26:12 +0000 (11:26 +0000)
commit8f5cdaa784f555149adf5e94fd2e989f99d6b1db
treed6a8f66d75cc46f849b5933fb2a57b41e76a7d4f
parentfeb78c94fa444a75b912ca355c3c80d7453f03f0
* Added a new method flag, METH_COEXIST.

* Used the flag to optimize set.__contains__(), dict.__contains__(),
  dict.__getitem__(), and list.__getitem__().
Doc/api/newtypes.tex
Include/methodobject.h
Misc/NEWS
Objects/dictobject.c
Objects/listobject.c
Objects/methodobject.c
Objects/setobject.c
Objects/typeobject.c