bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)

This commit is contained in:
Zackery Spytz 2020-11-28 07:53:39 -07:00 committed by GitHub
parent 8085f742f4
commit d41ec65ab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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