From: Serhiy Storchaka Date: Sun, 1 Mar 2015 07:06:29 +0000 (+0200) Subject: Issue #20204: Added the __module__ attribute to _tkinter classes. X-Git-Tag: v3.5.0a2~63^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efdc16f978d20f2b1937002dffbbe658dad2eff6;p=python Issue #20204: Added the __module__ attribute to _tkinter classes. --- 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,