summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-10-19 07:58:56 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-10-19 07:58:56 (GMT)
commite130a52d8a60229f53c8bc2ea7a1f51ee592bbd7 (patch)
treeb7f128d5f626c78d57d53812a5953c6eb56cca72 /Doc/whatsnew
parenta5a9a9c3696af0a4a0df74618e63a4d47a62e00f (diff)
downloadcpython-e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7.zip
cpython-e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7.tar.gz
cpython-e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7.tar.bz2
Remove duplication.
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