Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 165a2c2

Browse files
committed
fix typo; thanks to Robert Bardos from docs@
1 parent 70deb3d commit 165a2c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/glossary.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ Glossary
385385
:meth:`str.lower` method can serve as a key function for case insensitive
386386
sorts. Alternatively, an ad-hoc key function can be built from a
387387
:keyword:`lambda` expression such as ``lambda r: (r[0], r[2])``. Also,
388-
the :mod:`operator` module provides three key function constuctors:
388+
the :mod:`operator` module provides three key function constructors:
389389
:func:`~operator.attrgetter`, :func:`~operator.itemgetter`, and
390390
:func:`~operator.methodcaller`. See the :ref:`Sorting HOW TO
391391
<sortinghowto>` for examples of how to create and use key functions.

0 commit comments

Comments
 (0)