diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-03-31 23:50:22 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-03-31 23:50:22 (GMT) |
commit | 5b072efc28ea2bf7676861b4220a4a68207600d4 (patch) | |
tree | 36152e8120bbce0c0b6187f3fce680c60ad1f478 /Doc/glossary.rst | |
parent | 9a54a260de1375ca7a819e01fc7ced75c1f6f8e9 (diff) | |
parent | 165a2c2e27c07ac0c1ab5092a79f7f30c6c2a0d6 (diff) | |
download | cpython-5b072efc28ea2bf7676861b4220a4a68207600d4.zip cpython-5b072efc28ea2bf7676861b4220a4a68207600d4.tar.gz cpython-5b072efc28ea2bf7676861b4220a4a68207600d4.tar.bz2 |
merge with 3.2
Diffstat (limited to 'Doc/glossary.rst')
-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 e5b3847..cb647a3 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 <sortinghowto>` for examples of how to create and use key functions. |