Issue #20204: Added the __module__ attribute to _tkinter classes.

This commit is contained in:
Serhiy Storchaka 2015-03-01 09:07:10 +02:00
commit 50adb9fc32
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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,