KEMBAR78
gh-104683: Make Argument Clinic template strings class level members by erlend-aasland · Pull Request #107556 · python/cpython · GitHub
Skip to content

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
@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