summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index ff51674..7ed2b02 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -1378,7 +1378,7 @@ Tkapp_CallArgs(PyObject *args, Tcl_Obj** objStore, int *pobjc)
else if (!(PyTuple_Check(args) || PyList_Check(args))) {
objv[0] = AsObj(args);
- if (objv[0] == 0)
+ if (objv[0] == NULL)
goto finally;
objc = 1;
Tcl_IncrRefCount(objv[0]);