diff options
author | Raymond Hettinger <python@rcn.com> | 2003-10-09 20:51:07 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-10-09 20:51:07 (GMT) |
commit | 6b560bc648a42d7c6a586852cd695309434c45ac (patch) | |
tree | 43a960a930998d89dc6386818f49d104fb7e858e /Python/strtod.c | |
parent | 4e3b442c2e7825458919605ef0e1d8921c1bbb2f (diff) | |
download | cpython-6b560bc648a42d7c6a586852cd695309434c45ac.zip cpython-6b560bc648a42d7c6a586852cd695309434c45ac.tar.gz cpython-6b560bc648a42d7c6a586852cd695309434c45ac.tar.bz2 |
SF patch #820195: make object.__contains__() returns True or False instead
of 1 or 0.
Backport Guido's fix to the default __contains__() and to proxy_has_key()
so they will properly return booleans instead of integers.
Diffstat (limited to 'Python/strtod.c')
0 files changed, 0 insertions, 0 deletions