mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Fix typo in Sorting howto (#92280)
The phrase is usually "odds and ends," not "odd and ends."
This commit is contained in:
parent
465fdc02a3
commit
7d7a378c1a
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue