Uh oh!
There was an error while loading. Please reload this page.
Align functools.reduce() docstring with PEP-257 - #126045
Conversation
PEP 257 says that "Multi-line docstrings consist of a summary line just like a one-line docstring, followed by a blank line, followed by a more elaborate description." This is also a requirement from the Argument Clinic.
skirpichev
commented
Oct 27, 2024
docstring changes from #125999 |
erlend-aasland
left a comment
There was a problem hiding this comment.
Thanks for making this a separate change, Sergey.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ZeroIntensity
left a comment
There was a problem hiding this comment.
Spaces around operators :)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
erlend-aasland
commented
Oct 27, 2024
Actually in this case, I think we should keep the exiting formatting. Note that spaces around operators is no strict PEP-8 requirement; you may omit them for readability. |
ZeroIntensity
commented
Oct 27, 2024
I could have sworn it was. TIL! |
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as outdated.
This comment was marked as outdated.
Yak-shave in preparation for Argument Clinic adaption in pythongh-125999. (cherry picked from commit 9b14083) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Yak-shave in preparation for Argument Clinic adaption in pythongh-125999. (cherry picked from commit 9b14083) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
GH-126113 is a backport of this pull request to the 3.13 branch. |
GH-126114 is a backport of this pull request to the 3.12 branch. |
Yak-shave in preparation for Argument Clinic adaption in pythongh-125999.
Yak-shave in preparation for Argument Clinic adaption in pythongh-125999.
PEP 257 says that "Multi-line docstrings consist of a summary line just like a one-line docstring, followed by a blank line, followed by a more elaborate description." This is also a requirement from the Argument Clinic.