summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS3
-rw-r--r--Modules/_tkinter.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c3f515487e..5a9b8360d2 100644
--- 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;
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index f5bade03cb..14241e504e 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -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,