diff options
| author | Zackery Spytz <zspytz@gmail.com> | 2020-11-28 07:53:39 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-28 16:53:39 +0200 |
| commit | d41ec65ab7411e877ca33d05e8c900feca530635 (patch) | |
| tree | 899b9f517a0f72e2b3941529d69ae35395251d52 | |
| parent | 8085f742f4adfbc85f13fc734dfab036aa23acfb (diff) | |
| download | cpython-git-d41ec65ab7411e877ca33d05e8c900feca530635.tar.gz | |
bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)
| -rw-r--r-- | Doc/tutorial/datastructures.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst index ff4c797f66..5c6b65f05e 100644 --- a/Doc/tutorial/datastructures.rst +++ b/Doc/tutorial/datastructures.rst @@ -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 |
