summaryrefslogtreecommitdiffstats
path: root/Modules/threadmodule.c
diff options
context:
space:
mode:
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 3d5e4cc..cb463d9 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,