mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Massive patch by Skip Montanaro to add ":name" to as many
PyArg_ParseTuple() format string arguments as possible.
This commit is contained in:
parent
a9b2b4be26
commit
43713e5a28
37 changed files with 272 additions and 272 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue