Discussion:
[Python-3000-checkins] r66692 - python/branches/py3k/Objects/listobject.c
benjamin.peterson
2008-09-30 02:08:37 UTC
Permalink
Author: benjamin.peterson
Date: Tue Sep 30 04:08:36 2008
New Revision: 66692

Log:
remove a trace of the cmp argument for list.sort

Modified:
python/branches/py3k/Objects/listobject.c

Modified: python/branches/py3k/Objects/listobject.c
==============================================================================
--- python/branches/py3k/Objects/listobject.c (original)
+++ python/branches/py3k/Objects/listobject.c Tue Sep 30 04:08:36 2008
@@ -2296,8 +2296,7 @@
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*);

Loading...