From: Tim Peters Date: Sat, 3 Aug 2002 02:28:24 +0000 (+0000) Subject: SF bug 590366: Small typo in listsort:ParseTuple X-Git-Tag: v2.3c1~4751 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bdbc9e0b1d17e637236dc71b3fa775c23dd1d40;p=python SF bug 590366: Small typo in listsort:ParseTuple The PyArg_ParseTuple() error string still said "msort". Changed to "sort". --- diff --git a/Objects/listobject.c b/Objects/listobject.c index 1ff12d2181..bfa3b796a1 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -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);