Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-104683: Make Argument Clinic template strings class level members #107556

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Aug 2, 2023

The motivation for this change is to clean up the output_templates() method a little bit. That method accounts for approx. 10% of the lines of code in clinic.py; removing some clutter helps readability.

@erlend-aasland erlend-aasland changed the title gh-104683: Make Argument Clinic parser template strings class level members gh-104683: Make Argument Clinic template strings class level members Aug 2, 2023
@erlend-aasland erlend-aasland merged commit bcdd307 into python:main Aug 2, 2023
20 checks passed
@erlend-aasland erlend-aasland deleted the clinic/prototypes branch August 2, 2023 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants