commit | 83551bfeda04311f54a19c0e069faea21d8f73bd | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Sep 13 00:44:23 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Sep 13 00:44:23 1997 +0000 |
tree | 6c15382d3e92a01d0d6577a1ea3b412271668b97 | |
parent | 4fb5b28dfc15ab09412bc8307157d665c43716f4 [diff] [blame] |
Export names for the types defined by this module: TkappType and TkttType.
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 698b935..04150d1 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c
@@ -1519,6 +1519,9 @@ 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;