Use symbolic METH_VARARGS/METH_OLDARGS instead of 1/0 for ml_flags

This commit is contained in:
Neal Norwitz 2002-03-31 14:44:22 +00:00
parent 031829d3ef
commit b049325e92
3 changed files with 17 additions and 17 deletions

View file

@ -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}
};