mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-111050: IDLE - Simplify configdialog.HighPage.theme_elements (#111053)
Replace tuple value with internal name, removing numbers. Remove sorting of already ordered dislay names. Remove '[0]' indexing into now-gone tuple.
This commit is contained in:
parent
1991694117
commit
642eb8df95
2 changed files with 22 additions and 24 deletions
|
@ -430,7 +430,7 @@ class HighPageTest(unittest.TestCase):
|
|||
|
||||
def tag_to_element(elem):
|
||||
for element, tag in d.theme_elements.items():
|
||||
elem[tag[0]] = element
|
||||
elem[tag] = element
|
||||
|
||||
def click_it(start):
|
||||
x, y, dx, dy = hs.bbox(start)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue