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

This commit is contained in:
Raymond Hettinger 2014-05-26 18:44:04 -07:00
parent ab09c1319b
commit 07e048519b
2 changed files with 4 additions and 2 deletions

View File

@ -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()

View File

@ -447,6 +447,7 @@ Stephen M. Gava
Xavier de Gaye
Harry Henry Gebel
Marius Gedminas
Jan-Philip Gehrcke
Thomas Gellekum
Gabriel Genellina
Christos Georgiou