Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6bdbc9e

Browse files
committed
SF bug 590366: Small typo in listsort:ParseTuple
The PyArg_ParseTuple() error string still said "msort". Changed to "sort".
1 parent 30e0bea commit 6bdbc9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/listobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ listsort(PyListObject *self, PyObject *args)
16191619

16201620
assert(self != NULL);
16211621
if (args != NULL) {
1622-
if (!PyArg_ParseTuple(args, "|O:msort", &compare))
1622+
if (!PyArg_ParseTuple(args, "|O:sort", &compare))
16231623
return NULL;
16241624
}
16251625
merge_init(&ms, compare);

0 commit comments

Comments
 (0)