summaryrefslogtreecommitdiff
path: root/Modules/threadmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-02-29 13:59:29 +0000
committerGuido van Rossum <guido@python.org>2000-02-29 13:59:29 +0000
commit9c6a95f1147c59ba93e80cf55ac1682748c518ed (patch)
treeeea269daa2fcad11db92b34a67364bd72d48894e /Modules/threadmodule.c
parent19ff7ef2bf1cb726f4f929a3bb21aa920ee8525d (diff)
downloadcpython-9c6a95f1147c59ba93e80cf55ac1682748c518ed.tar.gz
Massive patch by Skip Montanaro to add ":name" to as many
PyArg_ParseTuple() format string arguments as possible.
Diffstat (limited to 'Modules/threadmodule.c')
-rw-r--r--Modules/threadmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c
index 3d5e4ccb32..cb463d9dff 100644
--- a/Modules/threadmodule.c
+++ b/Modules/threadmodule.c
@@ -251,7 +251,7 @@ thread_PyThread_start_new_thread(self, fargs)
PyObject *func, *args = NULL, *keyw = NULL;
struct bootstate *boot;
- if (!PyArg_ParseTuple(fargs, "OO|O", &func, &args, &keyw))
+ if (!PyArg_ParseTuple(fargs, "OO|O:start_new_thread", &func, &args, &keyw))
return NULL;
if (!PyCallable_Check(func)) {
PyErr_SetString(PyExc_TypeError,