mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -1619,7 +1619,7 @@ listsort(PyListObject *self, PyObject *args)
|
||||||
|
|
||||||
assert(self != NULL);
|
assert(self != NULL);
|
||||||
if (args != NULL) {
|
if (args != NULL) {
|
||||||
if (!PyArg_ParseTuple(args, "|O:msort", &compare))
|
if (!PyArg_ParseTuple(args, "|O:sort", &compare))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
merge_init(&ms, compare);
|
merge_init(&ms, compare);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue