mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)
This commit is contained in:
parent
8085f742f4
commit
d41ec65ab7
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