bpo-35598: IDLE: Refactor globals in config_key.py by csabella · Pull Request #11392 · python/cpython

@csabella

* Move translate_key to module level
* Move key tuples to module level

@terryjreedy

Separate load_final_key_list() is no longer needed after all
but one of its lines are moved to global scope.

@terryjreedy

terryjreedy

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Dec 31, 2018
Move translate_key() and constant tuples to module level.
Inline the remnant one-line function.
(cherry picked from commit b4ea8bb)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>

miss-islington added a commit that referenced this pull request

Dec 31, 2018
Move translate_key() and constant tuples to module level.
Inline the remnant one-line function.
(cherry picked from commit b4ea8bb)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>