]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35598: IDLE - Globalize some config_key objects (GH-11392)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 31 Dec 2018 20:19:53 +0000 (12:19 -0800)
committerGitHub <noreply@github.com>
Mon, 31 Dec 2018 20:19:53 +0000 (12:19 -0800)
commit74e46483773fa2ed03ed02f1b5e3fb0a4691535e
treeb599cba5077e0e9b1d50ef8d3d62220ad2ea81f9
parentefcf08d8ca9084d8248715f0634c21b705f02ca2
bpo-35598: IDLE - Globalize some config_key objects (GH-11392)

Move translate_key() and constant tuples to module level.
Inline the remnant one-line function.
(cherry picked from commit b4ea8bb080f63ef27682f3f9bbaa4d12a83030b1)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Lib/idlelib/config_key.py
Lib/idlelib/idle_test/test_config_key.py
Misc/NEWS.d/next/IDLE/2018-12-27-15-29-11.bpo-35598.FWOOm8.rst