commit | 6bdbc9e0b1d17e637236dc71b3fa775c23dd1d40 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sat Aug 03 02:28:24 2002 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sat Aug 03 02:28:24 2002 +0000 |
tree | 8601e496807ec96f189f5eba042c8f24afc39905 | |
parent | 30e0beab6dc66ae2f2c393041476bae32b953ccb [diff] |
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 1ff12d2..bfa3b79 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c
@@ -1619,7 +1619,7 @@ 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);