summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-05-28 13:57:55 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-05-28 13:57:55 (GMT)
commit9e7cbda1ef4e8d104733f6de58753292bd79c8c1 (patch)
treec6561ebef1b2ba9d70d632c3938b11b3bab1a8a4 /Modules
parent3fc6d80fb19894ddae7053f5ea38bb1128b6b03c (diff)
downloadcpython-9e7cbda1ef4e8d104733f6de58753292bd79c8c1.zip
cpython-9e7cbda1ef4e8d104733f6de58753292bd79c8c1.tar.gz
cpython-9e7cbda1ef4e8d104733f6de58753292bd79c8c1.tar.bz2
Issue #3015: _tkinter.create() now creates tkapp object with wantobject=1 by
default.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_tkinter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index e47e8f3..0b8e555 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -2777,7 +2777,7 @@ Tkinter_Create(PyObject *self, PyObject *args)
try getting rid of it. */
char *className = NULL;
int interactive = 0;
- int wantobjects = 0;
+ int wantobjects = 1;
int wantTk = 1; /* If false, then Tk_Init() doesn't get called */
int sync = 0; /* pass -sync to wish */
char *use = NULL; /* pass -use to wish */