diff options
author | Carl Meyer <carl@oddbird.net> | 2022-05-04 03:38:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 03:38:29 (GMT) |
commit | 7d7a378c1a351a2074e9e46838718a2dcbef2948 (patch) | |
tree | ea30f47ed33737c9f39763479362bcd6e2eb70e7 /Doc/howto | |
parent | 465fdc02a3c41cfe209e280c32a77c48e3a966fa (diff) | |
download | cpython-7d7a378c1a351a2074e9e46838718a2dcbef2948.zip cpython-7d7a378c1a351a2074e9e46838718a2dcbef2948.tar.gz cpython-7d7a378c1a351a2074e9e46838718a2dcbef2948.tar.bz2 |
Fix typo in Sorting howto (#92280)
The phrase is usually "odds and ends," not "odd and ends."
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/sorting.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/sorting.rst b/Doc/howto/sorting.rst index 32b4771..53cbe01 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. |