Skip to content

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

Merged
erlend-aasland merged 1 commit into
python:mainfrom
erlend-aasland:clinic/prototypes
Aug 2, 2023
Merged

gh-104683: Make Argument Clinic template strings class level members#107556
erlend-aasland merged 1 commit into
python:mainfrom
erlend-aasland:clinic/prototypes

Conversation

@erlend-aasland

@erlend-aaslanderlend-aasland commented Aug 2, 2023

Copy link
Copy Markdown
Contributor

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.

@bedevere-botbedevere-bot mentioned this pull request Aug 2, 2023
7 tasks
@erlend-aaslanderlend-aasland changed the title gh-104683: Make Argument Clinic parser template strings class level membersgh-104683: Make Argument Clinic template strings class level membersAug 2, 2023
@erlend-aasland
erlend-aasland merged commit bcdd307 into python:mainAug 2, 2023
@erlend-aasland
erlend-aasland deleted the clinic/prototypes branch August 2, 2023 19:37
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

@erlend-aasland@AlexWaygood@bedevere-bot