From 7d7a378c1a351a2074e9e46838718a2dcbef2948 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Tue, 3 May 2022 21:38:29 -0600 Subject: [PATCH] Fix typo in Sorting howto (#92280) The phrase is usually "odds and ends," not "odd and ends." --- Doc/howto/sorting.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/howto/sorting.rst b/Doc/howto/sorting.rst index 32b47711f85705..53cbe01e92144b 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.