summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorpartev <petrosyan@gmail.com>2022-10-31 17:58:13 (GMT)
committerGitHub <noreply@github.com>2022-10-31 17:58:13 (GMT)
commit3b86538661038ee23d0be80bb7593e2e7856f059 (patch)
treec787c9a5ed2cbf97c52871beb3c9ca674a50d581 /Doc
parentc1c3be0f9dc414bfae9a5718451ca217751ac687 (diff)
downloadcpython-3b86538661038ee23d0be80bb7593e2e7856f059.zip
cpython-3b86538661038ee23d0be80bb7593e2e7856f059.tar.gz
cpython-3b86538661038ee23d0be80bb7593e2e7856f059.tar.bz2
Fix typo in sorting HOWTO (#98888)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/howto/sorting.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/sorting.rst b/Doc/howto/sorting.rst
index 588e895..decce12 100644
--- a/Doc/howto/sorting.rst
+++ b/Doc/howto/sorting.rst
@@ -247,7 +247,7 @@ To accommodate those situations, Python provides
:class:`functools.cmp_to_key` to wrap the comparison function
to make it usable as a key function::
- sorted(words, key=cmp_to_key(strcoll)
+ sorted(words, key=cmp_to_key(strcoll)) # locale-aware sort order
Odds and Ends
=============