diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-31 14:44:22 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-31 14:44:22 (GMT) |
commit | b049325e922ecf480432f43b106de136bd877a9b (patch) | |
tree | 477cef2c5a80851733c5cd365f8108fb02f9dfce /Modules/_tkinter.c | |
parent | 031829d3ef22fcc0f5a6d325fee075ee11186599 (diff) | |
download | cpython-b049325e922ecf480432f43b106de136bd877a9b.zip cpython-b049325e922ecf480432f43b106de136bd877a9b.tar.gz cpython-b049325e922ecf480432f43b106de136bd877a9b.tar.bz2 |
Use symbolic METH_VARARGS/METH_OLDARGS instead of 1/0 for ml_flags
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r-- | Modules/_tkinter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 6e99359..d155e77 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -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} }; |