Skip to content

gh-110964: clinic: refactor output_templates() - #110982

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:clinic_output_templates
Oct 20, 2023
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:clinic_output_templates

Conversation

@vstinner

@vstinner vstinner commented Oct 17, 2023 •

Copy link
Copy Markdown
Member
@vstinner

Copy link
Copy Markdown
Member Author

Refactor the code to avoid if clinic is not None. This change basically just move code and remove if clinic is not None.

@vstinner
vstinner force-pushed the clinic_output_templates branch from 3f5b550 to e6cebdb Compare October 17, 2023 12:49
@vstinner

Copy link
Copy Markdown
Member Author

@erlend-aasland erlend-aasland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are you fine with this, @AlexWaygood?

@AlexWaygood

Copy link
Copy Markdown
Member

Are you fine with this, @AlexWaygood?

Haven't had a chance to review in depth, but this looks fine to me -- feel free to merge if you're happy!

@vstinner
vstinner merged commit 0937b11 into python:main Oct 20, 2023
@vstinner
vstinner deleted the clinic_output_templates branch October 20, 2023 21:42
@vstinner

Copy link
Copy Markdown
Member Author

Merged, thanks for reviews.

aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants