]> granicus.if.org Git - python/commitdiff
Issue #20204: Added the __module__ attribute to _tkinter classes.
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 1 Mar 2015 07:06:29 +0000 (09:06 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 1 Mar 2015 07:06:29 +0000 (09:06 +0200)
Misc/NEWS
Modules/_tkinter.c

index c3f515487e9a69952d92f36ebd1b9e5a2f66379d..5a9b8360d2c847e815e65eb1135189a15ec7e590 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ Core and Builtins
 
 Library
 -------
+
+- Issue #20204: Added the __module__ attribute to _tkinter classes.
+
 - Issue #23521: Corrected pure python implementation of timedelta division.
 
  * Eliminated OverflowError from timedelta * float for some floats;
index f5bade03cb51bac48bc3396ca3e24570a933933d..14241e504e929537b2c8a3cf640740cfd22f69dc 100644 (file)
@@ -2388,7 +2388,7 @@ static PyType_Slot Tktt_Type_slots[] = {
 };
 
 static PyType_Spec Tktt_Type_spec = {
-    "tktimertoken",
+    "_tkinter.tktimertoken",
     sizeof(TkttObject),
     0,
     Py_TPFLAGS_DEFAULT,
@@ -2692,7 +2692,7 @@ static PyType_Slot Tkapp_Type_slots[] = {
 
 
 static PyType_Spec Tkapp_Type_spec = {
-    "tkapp",
+    "_tkinter.tkapp",
     sizeof(TkappObject),
     0,
     Py_TPFLAGS_DEFAULT,