]> granicus.if.org Git - python/commitdiff
SF bug 590366: Small typo in listsort:ParseTuple
authorTim Peters <tim.peters@gmail.com>
Sat, 3 Aug 2002 02:28:24 +0000 (02:28 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 3 Aug 2002 02:28:24 +0000 (02:28 +0000)
The PyArg_ParseTuple() error string still said "msort".  Changed to "sort".

Objects/listobject.c

index 1ff12d2181c9e3491da6444453a71e517ee9e96d..bfa3b796a1f1dfee583bc4d4c9e6aa64eacc6b3d 100644 (file)
@@ -1619,7 +1619,7 @@ listsort(PyListObject *self, PyObject *args)
 
        assert(self != NULL);
        if (args != NULL) {
-               if (!PyArg_ParseTuple(args, "|O:msort", &compare))
+               if (!PyArg_ParseTuple(args, "|O:sort", &compare))
                        return NULL;
        }
        merge_init(&ms, compare);