Skip to content

Commit efdc16f

Browse files
Issue #20204: Added the __module__ attribute to _tkinter classes.
1 parent 24d3dee commit efdc16f

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Core and Builtins
1212

1313
Library
1414
-------
15+
16+
- Issue #20204: Added the __module__ attribute to _tkinter classes.
17+
1518
- Issue #23521: Corrected pure python implementation of timedelta division.
1619

1720
* Eliminated OverflowError from timedelta * float for some floats;

Modules/_tkinter.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2388,7 +2388,7 @@ static PyType_Slot Tktt_Type_slots[] = {
23882388
};
23892389

23902390
static PyType_Spec Tktt_Type_spec = {
2391-
"tktimertoken",
2391+
"_tkinter.tktimertoken",
23922392
sizeof(TkttObject),
23932393
0,
23942394
Py_TPFLAGS_DEFAULT,
@@ -2692,7 +2692,7 @@ static PyType_Slot Tkapp_Type_slots[] = {
26922692

26932693

26942694
static PyType_Spec Tkapp_Type_spec = {
2695-
"tkapp",
2695+
"_tkinter.tkapp",
26962696
sizeof(TkappObject),
26972697
0,
26982698
Py_TPFLAGS_DEFAULT,

0 commit comments

Comments
 (0)