mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Fix typo.
This commit is contained in:
parent
82b24827f6
commit
9885c93b99
1 changed files with 1 additions and 1 deletions
|
@ -1028,7 +1028,7 @@ Notes:
|
||||||
the sorted or reversed list.
|
the sorted or reversed list.
|
||||||
|
|
||||||
\item[(8)] The \method{sort()} and \method{sorted()} methods take optional
|
\item[(8)] The \method{sort()} and \method{sorted()} methods take optional
|
||||||
arguments for controlling the comparisions.
|
arguments for controlling the comparisons.
|
||||||
|
|
||||||
\var{cmp} specifies a custom comparison function of two arguments
|
\var{cmp} specifies a custom comparison function of two arguments
|
||||||
(list items) which should return a negative, zero or positive number
|
(list items) which should return a negative, zero or positive number
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue