]> granicus.if.org Git - python/commitdiff
Export names for the types defined by this module: TkappType and TkttType.
authorGuido van Rossum <guido@python.org>
Sat, 13 Sep 1997 00:44:23 +0000 (00:44 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 13 Sep 1997 00:44:23 +0000 (00:44 +0000)
Modules/_tkinter.c

index 698b935be8001d939f7ca27ffa51ed0e8b83d0d4..04150d17940d79a6705914c3d5a842234e7e2a2f 100644 (file)
@@ -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;