From: Guido van Rossum Date: Sat, 13 Sep 1997 00:44:23 +0000 (+0000) Subject: Export names for the types defined by this module: TkappType and TkttType. X-Git-Tag: v1.5a4~161 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83551bfeda04311f54a19c0e069faea21d8f73bd;p=python Export names for the types defined by this module: TkappType and TkttType. --- 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;