summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-10-19 08:06:26 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-10-19 08:06:26 (GMT)
commitf10644983e88c73437703a863151593cc37a657f (patch)
treeb3cf3ffcc4d27cf9f81c90efbedbc10a856db857 /Doc/whatsnew
parent318909b297241f9c46f25815e12d05136da57fa9 (diff)
parente130a52d8a60229f53c8bc2ea7a1f51ee592bbd7 (diff)
downloadcpython-f10644983e88c73437703a863151593cc37a657f.zip
cpython-f10644983e88c73437703a863151593cc37a657f.tar.gz
cpython-f10644983e88c73437703a863151593cc37a657f.tar.bz2
Merge with 3.2.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.4.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.4.rst b/Doc/whatsnew/2.4.rst
index c52b5fb..d94e66f 100644
--- a/Doc/whatsnew/2.4.rst
+++ b/Doc/whatsnew/2.4.rst
@@ -947,7 +947,7 @@ Optimizations
:meth:`__len__` method. (Contributed by Raymond Hettinger.)
* The methods :meth:`list.__getitem__`, :meth:`dict.__getitem__`, and
- :meth:`dict.__contains__` are are now implemented as :class:`method_descriptor`
+ :meth:`dict.__contains__` are now implemented as :class:`method_descriptor`
objects rather than :class:`wrapper_descriptor` objects. This form of access
doubles their performance and makes them more suitable for use as arguments to
functionals: ``map(mydict.__getitem__, keylist)``. (Contributed by Raymond