mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
gh-66819: More IDLE htest updates(4) (#112686)
Mostly double spacing before 'if __name__...'.
This commit is contained in:
parent
5a1b5316af
commit
e5b0db0315
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