diff options
author | partev <petrosyan@gmail.com> | 2022-10-31 17:58:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 17:58:13 (GMT) |
commit | 3b86538661038ee23d0be80bb7593e2e7856f059 (patch) | |
tree | c787c9a5ed2cbf97c52871beb3c9ca674a50d581 /Doc/howto | |
parent | c1c3be0f9dc414bfae9a5718451ca217751ac687 (diff) | |
download | cpython-3b86538661038ee23d0be80bb7593e2e7856f059.zip cpython-3b86538661038ee23d0be80bb7593e2e7856f059.tar.gz cpython-3b86538661038ee23d0be80bb7593e2e7856f059.tar.bz2 |
Fix typo in sorting HOWTO (#98888)
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/sorting.rst | 2 |
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 ============= |