You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a bit of unused code in clinic.py. For example, the code that manipulated second_pass_replacements was removed in 2015 (commit 0759f84, gh-67688 (bpo-23500)), but the variable and a branch depending on it still persists.
Suggesting to remove all unused code in order to make clinic more readable and maintainable.
Activity
pythongh-104146: Remove unused 'second_pass_replacements' from clinic.py
pythongh-104146: Remove unused 'second_pass_replacements' from clinic.py
gh-104146: Remove unused 'second_pass_replacements' from clinic.py (#…
pythongh-104146: Remove unused var 'parser_body_declarations' from cl…
gh-104146: Remove unused var 'parser_body_declarations' from clinic.py (
Merge branch 'main' into inlinecomp2
pythongh-104146: Remove unused var 'parser_body_declarations' from cl…
18 remaining items
gh-104146: Remove unused attr 'parameter_indent' from clinic.DLParser (…
Merge branch 'main' into modulelocals
pythongh-104146: Remove dead code from Argument Clinic
gh-104146: Remove dead code from Argument Clinic (#107555)
gh-104146: Argument clinic: remove unused methods and variables (#107608
pythongh-104146: Argument clinic: Remove dead code flagged by mypy's …
pythongh-104146: Argument clinic: Remove dead code flagged by mypy's …
gh-104146: Argument clinic: Remove dead code flagged by mypy's `truth…
gh-104146: Argument clinic: remove dead code highlighted by the `vult…
pythongh-104146: Purge CConverter.parse_by_reference from Argument Cl…