| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Three modules used three conventions for the copy module: diagram.py `import copy as copy_module`, settings.py `from copy import deepcopy`, expression.py `import copy`. Standardize on plain `import copy` with qualified `copy.deepcopy` / `copy.copy` — one import covers both shallow and deep copies, and the diagram.py alias was unnecessary (`copy` there only appears as a keyword argument, which can't collide with the module name). No behavior change.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Standardizes how the stdlib copy module is imported across the codebase. Three modules used three conventions:
Now uniform: import copy with qualified copy.deepcopy / copy.copy, so one import covers both shallow and deep copies. Pure rename — no behavior change (identifiers only; ruff/isort/mypy clean, imports verified). Split out of #1508.