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:
Miss Islington (bot) 2020-11-28 07:02:23 -08:00 committed by GitHub
parent 4498e98a6b
commit e1c669b7ed
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. 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: :noindex:
Sort the items of the list in place (the arguments can be used for sort Sort the items of the list in place (the arguments can be used for sort