summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-03-14 13:28:59 (GMT)
committerGeorg Brandl <georg@python.org>2008-03-14 13:28:59 (GMT)
commit4a983c550e546a0cd3bb9349d301ac7cd0017c50 (patch)
treeeef70151f34e3c4484efcc18eccbddf8eb78a2b6 /Objects/listobject.c
parenta137e1f11127b55b9e9b5e9eb1991a2a9401a431 (diff)
downloadcpython-4a983c550e546a0cd3bb9349d301ac7cd0017c50.zip
cpython-4a983c550e546a0cd3bb9349d301ac7cd0017c50.tar.gz
cpython-4a983c550e546a0cd3bb9349d301ac7cd0017c50.tar.bz2
#2285: remove cmp keyword from list.sort docstring.
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index eec1c22..c84cce5 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*);