summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-10-08 21:08:29 (GMT)
committerGuido van Rossum <guido@python.org>2003-10-08 21:08:29 (GMT)
commit02c58f865c82021d1cde7064552d3a95301c8cc0 (patch)
tree1bfa52b4125e3634f1eb7a398bd9c97c2861dcdf /Misc
parent95a97d59c0317300bfdc0def004ee52e5fcfee66 (diff)
downloadcpython-02c58f865c82021d1cde7064552d3a95301c8cc0.zip
cpython-02c58f865c82021d1cde7064552d3a95301c8cc0.tar.gz
cpython-02c58f865c82021d1cde7064552d3a95301c8cc0.tar.bz2
SF patch #820195 by Wojtek Walczak (gminick at users.sourceforge.net):
make obj.__contains__() returns True/False instead of 1/0.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 74bfbfa..67c1cec 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -572,6 +572,7 @@ Frank Visser
Charles Waldman
Richard Walker
Larry Wall
+Wojtek Walczak
Greg Ward
Barry Warsaw
Steve Waterbury
diff --git a/Misc/NEWS b/Misc/NEWS
index 5a8379e..8662f10 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -30,6 +30,9 @@ Core and builtins
- zip() with no arguments now returns an empty list instead of raising
a TypeError exception.
+- obj.__contains__() now returns True/False instead of 1/0. SF patch
+ 820195.
+
Extension modules
-----------------