Skip to content

Commit 3b86538

Browse files
authored
Fix typo in sorting HOWTO (#98888)
1 parent c1c3be0 commit 3b86538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/sorting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ To accommodate those situations, Python provides
247247
:class:`functools.cmp_to_key` to wrap the comparison function
248248
to make it usable as a key function::
249249

250-
sorted(words, key=cmp_to_key(strcoll)
250+
sorted(words, key=cmp_to_key(strcoll)) # locale-aware sort order
251251

252252
Odds and Ends
253253
=============

0 commit comments

Comments
 (0)