summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-03 02:28:24 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-08-03 02:28:24 (GMT)
commit6bdbc9e0b1d17e637236dc71b3fa775c23dd1d40 (patch)
tree8601e496807ec96f189f5eba042c8f24afc39905 /Objects/listobject.c
parent30e0beab6dc66ae2f2c393041476bae32b953ccb (diff)
downloadcpython-6bdbc9e0b1d17e637236dc71b3fa775c23dd1d40.zip
cpython-6bdbc9e0b1d17e637236dc71b3fa775c23dd1d40.tar.gz
cpython-6bdbc9e0b1d17e637236dc71b3fa775c23dd1d40.tar.bz2
SF bug 590366: Small typo in listsort:ParseTuple
The PyArg_ParseTuple() error string still said "msort". Changed to "sort".
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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);