diff options
author | Flavian Hautbois <flavianh@sicara.com> | 2019-07-26 03:30:33 +0200 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2019-07-25 21:30:33 -0400 |
commit | 76b645124b3aaa34bc664eece43707c01ef1b382 (patch) | |
tree | 10aaa3e7e89080bd68128c4de544050599d261bf /Lib/tkinter/colorchooser.py | |
parent | bpo-37641 preserve relative file location in embeddable zip (GH-14884) (diff) | |
download | cpython-76b645124b3aaa34bc664eece43707c01ef1b382.tar.gz cpython-76b645124b3aaa34bc664eece43707c01ef1b382.tar.bz2 cpython-76b645124b3aaa34bc664eece43707c01ef1b382.zip |
bpo-29446: tkinter 'import *' only imports what it should (GH-14864)
Add __all__ to tkinter.__init__ and submodules. Replace 'import *'
with explicit imports in some submodules.
Diffstat (limited to 'Lib/tkinter/colorchooser.py')
-rw-r--r-- | Lib/tkinter/colorchooser.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/tkinter/colorchooser.py b/Lib/tkinter/colorchooser.py index 9dc96713364..3cfc06f6f1f 100644 --- a/Lib/tkinter/colorchooser.py +++ b/Lib/tkinter/colorchooser.py @@ -21,6 +21,8 @@ from tkinter.commondialog import Dialog +__all__ = ["Chooser", "askcolor"] + # # color chooser class |