diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-12-04 06:59:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 06:59:19 (GMT) |
commit | 5ada3e5e91487e010f5377329b9aa12247d77cfb (patch) | |
tree | ca76fedb57cf429e3a460c4d4fa220294701bcd1 /Lib/idlelib/dynoption.py | |
parent | e347a8e0e3c00ef726ae627686771aadd74fc967 (diff) | |
download | cpython-5ada3e5e91487e010f5377329b9aa12247d77cfb.zip cpython-5ada3e5e91487e010f5377329b9aa12247d77cfb.tar.gz cpython-5ada3e5e91487e010f5377329b9aa12247d77cfb.tar.bz2 |
[3.11] gh-66819: More IDLE htest updates(4) (GH-112686) (#112689)
Mostly double spacing before 'if __name__...'.
(cherry picked from commit e5b0db0315941b968ebcc2414bfcdd2da44fd3c2)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/dynoption.py')
-rw-r--r-- | Lib/idlelib/dynoption.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/dynoption.py b/Lib/idlelib/dynoption.py index d5dfc3e..b8937f7 100644 --- a/Lib/idlelib/dynoption.py +++ b/Lib/idlelib/dynoption.py @@ -29,6 +29,7 @@ class DynOptionMenu(OptionMenu): if value: self.variable.set(value) + def _dyn_option_menu(parent): # htest # from tkinter import Toplevel # + StringVar, Button @@ -49,6 +50,7 @@ def _dyn_option_menu(parent): # htest # button = Button(top, text="Change option set", command=update) button.pack() + if __name__ == '__main__': # Only module without unittests because of intention to replace. from idlelib.idle_test.htest import run |