mirror of https://github.com/python/cpython
SF bug 590366: Small typo in listsort:ParseTuple
The PyArg_ParseTuple() error string still said "msort". Changed to "sort".
This commit is contained in:
parent
30e0beab6d
commit
6bdbc9e0b1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue