From: Sandro Tosi Date: Sat, 31 Mar 2012 23:49:46 +0000 (+0200) Subject: fix typo; thanks to Robert Bardos from docs@ X-Git-Tag: v2.7.4rc1~930 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d987c0221cf6601ab65ddf00ca62475d56e6cbd4;p=python fix typo; thanks to Robert Bardos from docs@ --- diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 2b2ed40774..e3043813b3 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -406,7 +406,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.