diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-08-31 04:50:55 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-08-31 04:50:55 (GMT) |
commit | bfbaa6b206abdb8b1c3861926f4334b879ec91cc (patch) | |
tree | a06ead659eacb714127ad34289a543942d14e4e6 /Lib/idlelib/help_about.py | |
parent | 89b1162511dd62e285c1911013f07b45af07f70a (diff) | |
download | cpython-bfbaa6b206abdb8b1c3861926f4334b879ec91cc.zip cpython-bfbaa6b206abdb8b1c3861926f4334b879ec91cc.tar.gz cpython-bfbaa6b206abdb8b1c3861926f4334b879ec91cc.tar.bz2 |
Issue #27891: Consistently group and sort imports within idlelib modules.
Diffstat (limited to 'Lib/idlelib/help_about.py')
-rw-r--r-- | Lib/idlelib/help_about.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/idlelib/help_about.py b/Lib/idlelib/help_about.py index 54f3599..071bd3e 100644 --- a/Lib/idlelib/help_about.py +++ b/Lib/idlelib/help_about.py @@ -1,12 +1,14 @@ """About Dialog for IDLE """ - import os from sys import version + from tkinter import * + from idlelib import textview + class AboutDialog(Toplevel): """Modal about dialog for idle @@ -144,6 +146,7 @@ class AboutDialog(Toplevel): def Ok(self, event=None): self.destroy() + if __name__ == '__main__': import unittest unittest.main('idlelib.idle_test.test_help_about', verbosity=2, exit=False) |