Export names for the types defined by this module: TkappType and TkttType.

This commit is contained in:
Guido van Rossum 1997-09-13 00:44:23 +00:00
parent 4fb5b28dfc
commit 83551bfeda
1 changed files with 3 additions and 0 deletions

View File

@ -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;