summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2020-11-28 07:53:39 -0700
committerGitHub <noreply@github.com>2020-11-28 16:53:39 +0200
commitd41ec65ab7411e877ca33d05e8c900feca530635 (patch)
tree899b9f517a0f72e2b3941529d69ae35395251d52
parent8085f742f4adfbc85f13fc734dfab036aa23acfb (diff)
downloadcpython-git-d41ec65ab7411e877ca33d05e8c900feca530635.tar.gz
bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)
-rw-r--r--Doc/tutorial/datastructures.rst2
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