]> 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 13:25:39 +0000 (05:25 -0800)
committerGitHub <noreply@github.com>
Mon, 25 Jan 2021 13:25:39 +0000 (08:25 -0500)
commit26af2fae189629d22a87aaf01b92d6f4de92b958
tree253112bd982209ef5c8b5d9f53412d9fe7887795
parent3d5434d5cbc945c58be663e3dbd5ef4875677b7a
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