mirror of https://github.com/python/cpython
Fix for issue #1581476
This commit is contained in:
parent
b98cb43e4a
commit
23fe2a867b
|
@ -1284,8 +1284,7 @@ Tkapp_Call(PyObject *selfptr, PyObject *args)
|
||||||
int objc, i;
|
int objc, i;
|
||||||
PyObject *res = NULL;
|
PyObject *res = NULL;
|
||||||
TkappObject *self = (TkappObject*)selfptr;
|
TkappObject *self = (TkappObject*)selfptr;
|
||||||
/* Could add TCL_EVAL_GLOBAL if wrapped by GlobalCall... */
|
int flags = TCL_EVAL_DIRECT | TCL_EVAL_GLOBAL;
|
||||||
int flags = TCL_EVAL_DIRECT;
|
|
||||||
|
|
||||||
/* If args is a single tuple, replace with contents of tuple */
|
/* If args is a single tuple, replace with contents of tuple */
|
||||||
if (1 == PyTuple_Size(args)){
|
if (1 == PyTuple_Size(args)){
|
||||||
|
|
Loading…
Reference in New Issue