diff options
| author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-03-31 23:49:46 (GMT) |
|---|---|---|
| committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-03-31 23:49:46 (GMT) |
| commit | d987c0221cf6601ab65ddf00ca62475d56e6cbd4 (patch) | |
| tree | 6b60c87dcfe3276c12e3680dcb6c9e2b7616dc2d | |
| parent | 4b536d477168713c5979140efa114b4a927f17de (diff) | |
| download | cpython-d987c0221cf6601ab65ddf00ca62475d56e6cbd4.zip cpython-d987c0221cf6601ab65ddf00ca62475d56e6cbd4.tar.gz cpython-d987c0221cf6601ab65ddf00ca62475d56e6cbd4.tar.bz2 | |
fix typo; thanks to Robert Bardos from docs@
| -rw-r--r-- | Doc/glossary.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 2b2ed40..e304381 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 <sortinghowto>` for examples of how to create and use key functions. |
