remove a trace of the cmp argument for list.sort

This commit is contained in:
Benjamin Peterson 2008-09-30 02:08:36 +00:00
parent 05c262171f
commit cb9a5517d0
1 changed files with 1 additions and 2 deletions

View File

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