]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:32:06 +0000 (06:32 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Oct 2023 04:32:06 +0000 (04:32 +0000)
commite37d56e8ddb8a95ab71d0eaba98c5be326428061
tree141fdc85ddd0bd03d2ed3b2fa5ccd8c8c8a12c10
parentd312135764569022a5345450a77653623f74269b
[3.12] gh-111050: IDLE - Simplify configdialog.HighPage.theme_elements (GH-111053) (#111055)

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