summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 698b935..04150d1 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -1519,6 +1519,9 @@ init_tkinter()
ins_string(d, "TK_VERSION", TK_VERSION);
ins_string(d, "TCL_VERSION", TCL_VERSION);
+ PyDict_SetItemString(d, "TkappType", (PyObject *)&Tkapp_Type);
+ PyDict_SetItemString(d, "TkttType", (PyObject *)&Tktt_Type);
+
if (PyOS_InputHook == NULL)
PyOS_InputHook = EventHook;