summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-09-30 02:08:36 +0000
committerBenjamin Peterson <benjamin@python.org>2008-09-30 02:08:36 +0000
commitcb9a5517d0806a55aa9432b1305537dd8f5c062b (patch)
tree5385a20fc6001a6fc7a3adc2b8b5b86de3f9abdb /Objects
parent05c262171f6a59333ddbdce8ca7a80fa5885ded7 (diff)
downloadcpython-git-cb9a5517d0806a55aa9432b1305537dd8f5c062b.tar.gz
remove a trace of the cmp argument for list.sort
Diffstat (limited to 'Objects')
-rw-r--r--Objects/listobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index af3ed2c583..dc910f6809 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -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*);