diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-01 07:07:10 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-01 07:07:10 (GMT) |
commit | 50adb9fc3297377a606371cd208a91d2ff89b05a (patch) | |
tree | 22b9b9d60d0ac25e667af5972ba4b326e4c6bd0d | |
parent | e4969f5df832eb8f626544d38ee11b75b52b4aee (diff) | |
parent | efdc16f978d20f2b1937002dffbbe658dad2eff6 (diff) | |
download | cpython-50adb9fc3297377a606371cd208a91d2ff89b05a.zip cpython-50adb9fc3297377a606371cd208a91d2ff89b05a.tar.gz cpython-50adb9fc3297377a606371cd208a91d2ff89b05a.tar.bz2 |
Issue #20204: Added the __module__ attribute to _tkinter classes.
-rw-r--r-- | Misc/NEWS | 2 | ||||
-rw-r--r-- | Modules/_tkinter.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -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, |