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/percolator.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/percolator.py')
-rw-r--r-- | Lib/idlelib/percolator.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/percolator.py b/Lib/idlelib/percolator.py index 91ad727..aa73427 100644 --- a/Lib/idlelib/percolator.py +++ b/Lib/idlelib/percolator.py @@ -103,6 +103,7 @@ def _percolator(parent): # htest # (pin if var2.get() else pout)(t2) text.pack() + text.focus_set() var1 = tk.IntVar(parent) cb1 = tk.Checkbutton(top, text="Tracer1", command=toggle1, variable=var1) cb1.pack() @@ -110,6 +111,7 @@ def _percolator(parent): # htest # cb2 = tk.Checkbutton(top, text="Tracer2", command=toggle2, variable=var2) cb2.pack() + if __name__ == "__main__": from unittest import main main('idlelib.idle_test.test_percolator', verbosity=2, exit=False) |