-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-104683: Argument Clinic: refactor format_docstring() #107623
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: Argument Clinic: refactor format_docstring() #107623
Conversation
Extract helper methods for formatting the signature and parameter sections, and clean up the remaining function body.
Co-authored-by: Alex Waygood <[email protected]>
Looks like there's a bug somewhere -- CI is failing |
Yes, splitlines() is not quite the same as the old comprehension :( |
This reverts commit 1d244dc.
I reverted the |
Co-authored-by: Alex Waygood <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
Thanks for the reviews, Adam and Alex! |
That's strange; automerge continued through even though the Windows (x86) CI failed (apparently it failed then succeeded because some of the flakey tests were flakey). |
Extract helper methods for formatting the signature and parameter
sections, and clean up the remaining function body.
Tools/clinic/
#104683