summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-03-31 23:50:00 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-03-31 23:50:00 (GMT)
commit165a2c2e27c07ac0c1ab5092a79f7f30c6c2a0d6 (patch)
tree9dfd75a4edd47c51f9171b2f8e67319f3a5d4b3e /Doc
parent70deb3de3960142fcf8497d2ea0cfae6609b8e66 (diff)
downloadcpython-165a2c2e27c07ac0c1ab5092a79f7f30c6c2a0d6.zip
cpython-165a2c2e27c07ac0c1ab5092a79f7f30c6c2a0d6.tar.gz
cpython-165a2c2e27c07ac0c1ab5092a79f7f30c6c2a0d6.tar.bz2
fix typo; thanks to Robert Bardos from docs@
Diffstat (limited to 'Doc')
-rw-r--r--Doc/glossary.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 2f1277c..21b92a9 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.