Mercurial > cpython-lru_cache-weakref
diff Modules/threadmodule.c @ 11882:dc65c5f6ad7c legacy-trunk
Massive patch by Skip Montanaro to add ":name" to as many
PyArg_ParseTuple() format string arguments as possible.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 29 Feb 2000 13:59:29 +0000 |
| parents | 877d23bd5bdc |
| children | 1c7c2dd1beb1 |
line wrap: on
line diff
--- a/Modules/threadmodule.c Tue Feb 29 13:31:16 2000 +0000 +++ b/Modules/threadmodule.c Tue Feb 29 13:59:29 2000 +0000 @@ -251,7 +251,7 @@ 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,
