mirror of
https://github.com/python/cpython.git
synced 2025-09-08 01:41:19 +00:00
[3.11] gh-66819: More IDLE htest updates(4) (GH-112686) (#112689)
Mostly double spacing before 'if __name__...'.
(cherry picked from commit e5b0db0315
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
e347a8e0e3
commit
5ada3e5e91
25 changed files with 62 additions and 34 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue