mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)
(cherry picked from commit d41ec65ab7
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
This commit is contained in:
parent
df6c8bcffe
commit
cc5eb935c7
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ objects:
|
|||
Return the number of times *x* appears in the list.
|
||||
|
||||
|
||||
.. method:: list.sort(key=None, reverse=False)
|
||||
.. method:: list.sort(*, key=None, reverse=False)
|
||||
:noindex:
|
||||
|
||||
Sort the items of the list in place (the arguments can be used for sort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue