summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-09-30 02:08:36 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-09-30 02:08:36 (GMT)
commitcb9a5517d0806a55aa9432b1305537dd8f5c062b (patch)
tree5385a20fc6001a6fc7a3adc2b8b5b86de3f9abdb
parent05c262171f6a59333ddbdce8ca7a80fa5885ded7 (diff)
downloadcpython-cb9a5517d0806a55aa9432b1305537dd8f5c062b.zip
cpython-cb9a5517d0806a55aa9432b1305537dd8f5c062b.tar.gz
cpython-cb9a5517d0806a55aa9432b1305537dd8f5c062b.tar.bz2
remove a trace of the cmp argument for list.sort
-rw-r--r--Objects/listobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index af3ed2c..dc910f6 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*);