summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS2
-rw-r--r--Modules/_tkinter.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f1a1410..d62e695 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,6 +13,8 @@ Core and Builtins
Library
-------
+- Issue #20204: Added the __module__ attribute to _tkinter classes.
+
- Issue #19980: Improved help() for non-recognized strings. help('') now
shows the help on str. help('help') now shows the help on help().
Original patch by Mark Lawrence.
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index b23ee8a..52069ec 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -2409,7 +2409,7 @@ static PyType_Slot Tktt_Type_slots[] = {
};
static PyType_Spec Tktt_Type_spec = {
- "tktimertoken",
+ "_tkinter.tktimertoken",
sizeof(TkttObject),
0,
Py_TPFLAGS_DEFAULT,
@@ -2713,7 +2713,7 @@ static PyType_Slot Tkapp_Type_slots[] = {
static PyType_Spec Tkapp_Type_spec = {
- "tkapp",
+ "_tkinter.tkapp",
sizeof(TkappObject),
0,
Py_TPFLAGS_DEFAULT,