summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-05-22 07:16:10 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-05-22 07:16:10 (GMT)
commite2e447b6fb272d3537904f61549acdadeef26ad0 (patch)
tree2120fa128376fc8f91d2a7db6c8dd69e5917fea7 /Modules/_tkinter.c
parent6f145fce062f37feebc91cb2c42de0a1fc6dd714 (diff)
downloadcpython-e2e447b6fb272d3537904f61549acdadeef26ad0.zip
cpython-e2e447b6fb272d3537904f61549acdadeef26ad0.tar.gz
cpython-e2e447b6fb272d3537904f61549acdadeef26ad0.tar.bz2
Stop using METH_OLDARGS
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 0b853b5..1f94929 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -2698,8 +2698,8 @@ static PyMethodDef Tkapp_methods[] =
{
{"willdispatch", Tkapp_WillDispatch, METH_NOARGS},
{"wantobjects", Tkapp_WantObjects, METH_VARARGS},
- {"call", Tkapp_Call, METH_OLDARGS},
- {"globalcall", Tkapp_GlobalCall, METH_OLDARGS},
+ {"call", Tkapp_Call, METH_VARARGS},
+ {"globalcall", Tkapp_GlobalCall, METH_VARARGS},
{"eval", Tkapp_Eval, METH_VARARGS},
{"globaleval", Tkapp_GlobalEval, METH_VARARGS},
{"evalfile", Tkapp_EvalFile, METH_VARARGS},
@@ -2720,7 +2720,7 @@ static PyMethodDef Tkapp_methods[] =
{"exprboolean", Tkapp_ExprBoolean, METH_VARARGS},
{"splitlist", Tkapp_SplitList, METH_VARARGS},
{"split", Tkapp_Split, METH_VARARGS},
- {"merge", Tkapp_Merge, METH_OLDARGS},
+ {"merge", Tkapp_Merge, METH_VARARGS},
{"createcommand", Tkapp_CreateCommand, METH_VARARGS},
{"deletecommand", Tkapp_DeleteCommand, METH_VARARGS},
#ifdef HAVE_CREATEFILEHANDLER