FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

IDLE - move 3 toplevel fix_xyz functions to idlelb.util · Issue #152728 · python/cpython · GitHub

/ cpython Public

IDLE - move 3 toplevel fix_xyz functions to idlelb.util #152728

Description

Util.py exists to hold toplevel data and functions used in multiple modules.
These three are used in pyshell, test_sidebar, and elsewhere:
run.fix_scaling (also used in filelist);
editor.fixwordbreaks (rename to fix_word_breaks, also in filelist);
pyshell.fix_x11_paste (also in test_editmenu).
This will slightly simplify the idlelib import graph by breaking some loops.

**No previous discussion: Minor refactor.

Linked PRs

Metadata

Metadata

Assignees

Labels

topic-IDLEtype-refactorCode refactoring (with no changes in behavior)

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL