diff options
author | Guido van Rossum <guido@python.org> | 1997-09-13 00:44:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-09-13 00:44:23 (GMT) |
commit | 83551bfeda04311f54a19c0e069faea21d8f73bd (patch) | |
tree | 6c15382d3e92a01d0d6577a1ea3b412271668b97 /Modules | |
parent | 4fb5b28dfc15ab09412bc8307157d665c43716f4 (diff) | |
download | cpython-83551bfeda04311f54a19c0e069faea21d8f73bd.zip cpython-83551bfeda04311f54a19c0e069faea21d8f73bd.tar.gz cpython-83551bfeda04311f54a19c0e069faea21d8f73bd.tar.bz2 |
Export names for the types defined by this module: TkappType and TkttType.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_tkinter.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ 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; |