]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43013: Fix old tkinter module names in idlelib (GH-24326)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 25 Jan 2021 11:51:49 +0000 (03:51 -0800)
committerGitHub <noreply@github.com>
Mon, 25 Jan 2021 11:51:49 +0000 (03:51 -0800)
commit7370be30017f81d2f41f1b4b2abf31dd9a3f8fb1
tree7261d03e8a5799b86c7b9b8508ac3670880cd2b5
parent96bcf6f4d4bed1cdf97883eb43e872ff1a92013d
bpo-43013: Fix old tkinter module names in idlelib (GH-24326)

Lowercase 'tkColorChooser', 'tkFileDialog', 'tkSimpleDialog', and
'tkMessageBox' and remove 'tk'.  Just lowercase 'tkFont' as 'font'
is already used.  Adjust import.
(cherry picked from commit 879986d8a932c4524cb6ff822afc9537de16e28d)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
13 files changed:
Lib/idlelib/configdialog.py
Lib/idlelib/editor.py
Lib/idlelib/filelist.py
Lib/idlelib/idle_test/mock_tk.py
Lib/idlelib/idle_test/test_configdialog.py
Lib/idlelib/idle_test/test_replace.py
Lib/idlelib/idle_test/test_searchengine.py
Lib/idlelib/idle_test/test_squeezer.py
Lib/idlelib/iomenu.py
Lib/idlelib/pyshell.py
Lib/idlelib/runscript.py
Lib/idlelib/searchengine.py
Lib/idlelib/squeezer.py