summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2020-11-28 14:53:39 (GMT)
committerGitHub <noreply@github.com>2020-11-28 14:53:39 (GMT)
commitd41ec65ab7411e877ca33d05e8c900feca530635 (patch)
tree899b9f517a0f72e2b3941529d69ae35395251d52 /Doc/tutorial
parent8085f742f4adfbc85f13fc734dfab036aa23acfb (diff)
downloadcpython-d41ec65ab7411e877ca33d05e8c900feca530635.zip
cpython-d41ec65ab7411e877ca33d05e8c900feca530635.tar.gz
cpython-d41ec65ab7411e877ca33d05e8c900feca530635.tar.bz2
bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)
Diffstat (limited to 'Doc/tutorial')
-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 ff4c797..5c6b65f 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