Skip to content

Commit 7d7a378

Browse files
authored
Fix typo in Sorting howto (python#92280)
The phrase is usually "odds and ends," not "odd and ends."
1 parent 465fdc0 commit 7d7a378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/howto/sorting.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ To convert to a key function, just wrap the old comparison function:
305305
In Python 3.2, the :func:`functools.cmp_to_key` function was added to the
306306
:mod:`functools` module in the standard library.
307307

308-
Odd and Ends
309-
============
308+
Odds and Ends
309+
=============
310310

311311
* For locale aware sorting, use :func:`locale.strxfrm` for a key function or
312312
:func:`locale.strcoll` for a comparison function.

0 commit comments

Comments
 (0)