From: Carl Meyer Date: Wed, 4 May 2022 03:38:29 +0000 (-0600) Subject: Fix typo in Sorting howto (#92280) X-Git-Tag: v3.11.0b1~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7d7a378c1a351a2074e9e46838718a2dcbef2948;p=thirdparty%2FPython%2Fcpython.git Fix typo in Sorting howto (#92280) The phrase is usually "odds and ends," not "odd and ends." --- diff --git a/Doc/howto/sorting.rst b/Doc/howto/sorting.rst index 32b47711f857..53cbe01e9214 100644 --- a/Doc/howto/sorting.rst +++ b/Doc/howto/sorting.rst @@ -305,8 +305,8 @@ To convert to a key function, just wrap the old comparison function: In Python 3.2, the :func:`functools.cmp_to_key` function was added to the :mod:`functools` module in the standard library. -Odd and Ends -============ +Odds and Ends +============= * For locale aware sorting, use :func:`locale.strxfrm` for a key function or :func:`locale.strcoll` for a comparison function.