Skip to content

Conversation

@AlexWaygood
Copy link
Member

@AlexWaygoodAlexWaygood commented Aug 3, 2023

  • The i variable in version_comparitor was unused (it was a useless use of enumerate; we can just iterate directly over the iterator).
  • The methods IndentStack.indent(), DSLParser.calculate_indent(), cpp.Monitor.close() and cpp.Monitor.write() all have no test coverage. They are not used or referenced anywhere in Tools/clinic; the test suite passes without them; mypy and pyflakes pass without them; and Python builds without them. I think they can all be removed.

Copy link
Contributor

@erlend-aaslanderlend-aasland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. make clinic also does not complain.

@AlexWaygoodAlexWaygood enabled auto-merge (squash) August 3, 2023 23:41
@AlexWaygoodAlexWaygood merged commit ee78d01 into python:mainAug 4, 2023
@AlexWaygoodAlexWaygood deleted the clinic-dead-code-2 branch August 4, 2023 00:17
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@AlexWaygood@erlend-aasland@bedevere-bot