mirror of https://github.com/python/cpython
Export names for the types defined by this module: TkappType and TkttType.
This commit is contained in:
parent
4fb5b28dfc
commit
83551bfeda
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue