]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-111050: IDLE - Simplify configdialog.HighPage.theme_elements (GH-111053...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 19 Oct 2023 04:30:43 +0000 (06:30 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Oct 2023 04:30:43 +0000 (04:30 +0000)
commit2258d6cfa2fcd0c290328e81b68aff25abf8c3d8
tree969da28b1ec04e5139596a8bb954906b42b7ce02
parentfabfc2ccfc50e58284da48db9cb63f9dd58606a6
[3.11] gh-111050: IDLE - Simplify configdialog.HighPage.theme_elements (GH-111053) (#111056)

gh-111050: IDLE - Simplify configdialog.HighPage.theme_elements (GH-111053)

Replace tuple value with internal name, removing numbers.
Remove sorting of already ordered dislay names.
Remove '[0]' indexing into now-gone tuple.
(cherry picked from commit 642eb8df951f2f1d4bf4d93ee568707c5bf40a96)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/configdialog.py
Lib/idlelib/idle_test/test_configdialog.py