cpython (3.2): fix typo; thanks to Robert Bardos from docs@
http://hg.python.org/cpython/rev/0a4a6f98bd8e changeset: 76037:0a4a6f98bd8e branch: 3.2 parent: 76033:3a220feafa15 user: Sandro Tosi <sandro.tosi@gmail.com> date: Sun Apr 01 01:50:00 2012 +0200 summary: fix typo; thanks to Robert Bardos from docs@ files: Doc/glossary.rst | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Doc/glossary.rst b/Doc/glossary.rst --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -385,7 +385,7 @@ :meth:`str.lower` method can serve as a key function for case insensitive sorts. Alternatively, an ad-hoc key function can be built from a :keyword:`lambda` expression such as ``lambda r: (r[0], r[2])``. Also, - the :mod:`operator` module provides three key function constuctors: + the :mod:`operator` module provides three key function constructors: :func:`~operator.attrgetter`, :func:`~operator.itemgetter`, and :func:`~operator.methodcaller`. See the :ref:`Sorting HOW TO <sortinghowto>` for examples of how to create and use key functions. -- Repository URL: http://hg.python.org/cpython
participants (1)
-
sandro.tosi