mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
#2285: remove cmp keyword from list.sort docstring.
This commit is contained in:
parent
a137e1f111
commit
4a983c550e
1 changed files with 1 additions and 1 deletions
|
|
@ -2271,7 +2271,7 @@ PyDoc_STRVAR(count_doc,
|
|||
PyDoc_STRVAR(reverse_doc,
|
||||
"L.reverse() -- reverse *IN PLACE*");
|
||||
PyDoc_STRVAR(sort_doc,
|
||||
"L.sort(cmp=None, key=None, reverse=False) -- stable sort *IN PLACE*;\n\
|
||||
"L.sort(key=None, reverse=False) -- stable sort *IN PLACE*;\n\
|
||||
cmp(x, y) -> -1, 0, 1");
|
||||
|
||||
static PyObject *list_subscript(PyListObject*, PyObject*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue