]> granicus.if.org Git - python/commit
[3.6] IDLE: make filetypes a tuple constant. (GH-3847) (#3848)
authorTerry Jan Reedy <tjreedy@udel.edu>
Sun, 1 Oct 2017 23:37:19 +0000 (19:37 -0400)
committerGitHub <noreply@github.com>
Sun, 1 Oct 2017 23:37:19 +0000 (19:37 -0400)
commitc0418160457970c4654ad8d910cd0ad21a02f3f7
tree59c56acefd4d3363c60b8a8772e2bda73309ff3f
parentc8198c92320bc35b1e3de5ff0118bd8e20e8d68a
[3.6] IDLE: make filetypes a tuple constant. (GH-3847) (#3848)

Save a bit of code, plus non-tuples get converted anyway to tuples by tkinter for the tk call.
(cherry picked from commit 5961e7c156f90c7f9444ae95b9d3e55114ca2169)
Lib/idlelib/iomenu.py