From 83551bfeda04311f54a19c0e069faea21d8f73bd Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 13 Sep 1997 00:44:23 +0000 Subject: [PATCH] Export names for the types defined by this module: TkappType and TkttType. --- Modules/_tkinter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 698b935be8..04150d1794 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; -- 2.40.0