| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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.
There was a problem hiding this comment.
Thanks for making this a separate change, Sergey.
Sorry, something went wrong.
There was a problem hiding this comment.
Spaces around operators :)
Sorry, something went wrong.
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. |
Sorry, something went wrong.
I could have sworn it was. TIL! |
Sorry, something went wrong.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.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>
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. |
Sorry, something went wrong.
|
GH-126114 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
Yak-shave in preparation for Argument Clinic adaption in pythongh-125999.
Yak-shave in preparation for Argument Clinic adaption in pythongh-125999.
| Back | FazBrowse Home | New Git URL |
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.