[3.6] IDLE: make filetypes a tuple constant. (GH-3847) by terryjreedy · Pull Request #3848 · python/cpython (original) (raw)

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

!!! If this is a backport PR (PR made against branches other than master),
please ensure that the PR title is in the following format:

[X.Y] <title from the original PR> (GH-NNNN)

Where: [X.Y] is the branch name, e.g. [3.6].

GH-NNNN refers to the PR number from master.

PLEASE: Remove this headline!!!