diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 07:39:35 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 07:39:35 (GMT) |
commit | 1e87da16eac24f6e0fb6908906ab6400ce583fa0 (patch) | |
tree | d992030c489c74b4f385314d3fba2d1dbb675cf6 /Doc/whatsnew | |
parent | 7a15390f83c57283b44163c33bb4a80fd453526b (diff) | |
download | cpython-1e87da16eac24f6e0fb6908906ab6400ce583fa0.zip cpython-1e87da16eac24f6e0fb6908906ab6400ce583fa0.tar.gz cpython-1e87da16eac24f6e0fb6908906ab6400ce583fa0.tar.bz2 |
Remove duplication.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/2.4.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.4.rst b/Doc/whatsnew/2.4.rst index fadde50..a602f75 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 |