Kaydet (Commit) 07e04851 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Issue 21575: Show list.sort() arguments in the tutorial.

üst ab09c131
......@@ -73,10 +73,11 @@ objects:
Return the number of times *x* appears in the list.
.. method:: list.sort()
.. method:: list.sort(key=None, reverse=False)
:noindex:
Sort the items of the list in place.
Sort the items of the list in place (the arguments can be used for sort
customization, see :func:`sorted` for their explanation).
.. method:: list.reverse()
......
......@@ -447,6 +447,7 @@ Stephen M. Gava
Xavier de Gaye
Harry Henry Gebel
Marius Gedminas
Jan-Philip Gehrcke
Thomas Gellekum
Gabriel Genellina
Christos Georgiou
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment