Skip to content

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

Merged

Conversation

erlend-aasland
Copy link
Contributor

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

Extract helper methods for formatting the signature and parameter
sections, and clean up the remaining function body.

Extract helper methods for formatting the signature and parameter
sections, and clean up the remaining function body.
@AlexWaygood
Copy link
Member

Looks like there's a bug somewhere -- CI is failing

@erlend-aasland
Copy link
Contributor Author

Looks like there's a bug somewhere -- CI is failing

Yes, splitlines() is not quite the same as the old comprehension :(

@erlend-aasland
Copy link
Contributor Author

I reverted the splitlines change.

Co-authored-by: Alex Waygood <[email protected]>
@erlend-aasland erlend-aasland enabled auto-merge (squash) August 8, 2023 20:43
@erlend-aasland
Copy link
Contributor Author

Thanks for the reviews, Adam and Alex!

@erlend-aasland erlend-aasland merged commit 7350738 into python:main Aug 8, 2023
@erlend-aasland erlend-aasland deleted the clinic/refactor-format-docstring branch August 8, 2023 21:18
@erlend-aasland
Copy link
Contributor Author

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).

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.

4 participants