mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Use symbolic METH_VARARGS/METH_OLDARGS instead of 1/0 for ml_flags
This commit is contained in:
parent
031829d3ef
commit
b049325e92
3 changed files with 17 additions and 17 deletions
|
@ -1546,7 +1546,7 @@ Tktt_DeleteTimerHandler(PyObject *self, PyObject *args)
|
|||
|
||||
static PyMethodDef Tktt_methods[] =
|
||||
{
|
||||
{"deletetimerhandler", Tktt_DeleteTimerHandler, 1},
|
||||
{"deletetimerhandler", Tktt_DeleteTimerHandler, METH_VARARGS},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue