From 4a983c550e546a0cd3bb9349d301ac7cd0017c50 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 14 Mar 2008 13:28:59 +0000 Subject: [PATCH] #2285: remove cmp keyword from list.sort docstring. --- Objects/listobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/listobject.c b/Objects/listobject.c index eec1c2248ce..c84cce5cc80 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -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*);