remove a trace of the cmp argument for list.sort
This commit is contained in:
parent
05c262171f
commit
cb9a5517d0
|
@ -2296,8 +2296,7 @@ PyDoc_STRVAR(count_doc,
|
|||
PyDoc_STRVAR(reverse_doc,
|
||||
"L.reverse() -- reverse *IN PLACE*");
|
||||
PyDoc_STRVAR(sort_doc,
|
||||
"L.sort(key=None, reverse=False) -- stable sort *IN PLACE*;\n\
|
||||
cmp(x, y) -> -1, 0, 1");
|
||||
"L.sort(key=None, reverse=False) -- stable sort *IN PLACE*");
|
||||
|
||||
static PyObject *list_subscript(PyListObject*, PyObject*);
|
||||
|
||||
|
|
Loading…
Reference in New Issue