From: Sandro Tosi Date: Sat, 31 Mar 2012 23:50:00 +0000 (+0200) Subject: fix typo; thanks to Robert Bardos from docs@ X-Git-Tag: v3.3.0a2~7^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=165a2c2e27c07ac0c1ab5092a79f7f30c6c2a0d6;p=thirdparty%2FPython%2Fcpython.git fix typo; thanks to Robert Bardos from docs@ --- diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 2f1277c22b07..21b92a99a1dd 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -385,7 +385,7 @@ Glossary :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 ` for examples of how to create and use key functions.