#2285: remove cmp keyword from list.sort docstring.

This commit is contained in:
Georg Brandl 2008-03-14 13:28:59 +00:00
parent a137e1f111
commit 4a983c550e
1 changed files with 1 additions and 1 deletions

View File

@ -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*);