]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in Sorting howto (#92280)
authorCarl Meyer <carl@oddbird.net>
Wed, 4 May 2022 03:38:29 +0000 (21:38 -0600)
committerGitHub <noreply@github.com>
Wed, 4 May 2022 03:38:29 +0000 (21:38 -0600)
The phrase is usually "odds and ends," not "odd and ends."

Doc/howto/sorting.rst

index 32b47711f85705a34d42fd7c2dd054e25ed7feb7..53cbe01e92144b9bce63607828b981c3aeaa9e86 100644 (file)
@@ -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.