mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Export names for the types defined by this module: TkappType and TkttType.
This commit is contained in:
parent
4fb5b28dfc
commit
83551bfeda
1 changed files with 3 additions and 0 deletions
|
@ -1519,6 +1519,9 @@ init_tkinter()
|
||||||
ins_string(d, "TK_VERSION", TK_VERSION);
|
ins_string(d, "TK_VERSION", TK_VERSION);
|
||||||
ins_string(d, "TCL_VERSION", TCL_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)
|
if (PyOS_InputHook == NULL)
|
||||||
PyOS_InputHook = EventHook;
|
PyOS_InputHook = EventHook;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue