-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
feat(docs): type fix - apply pep8 by using docstring instead of comment in the doc. #135181
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
Conversation
Giving the right example incitates the tutorial readers to do the same in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is the tutorial, I think it makes logical sense to present best practices.
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
Thanks @jlguenego for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Thanks @jlguenego for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…nt in the doc. (pythonGH-135181) Giving the right example incitates the tutorial readers to do the same in the future. (cherry picked from commit 3431828) Co-authored-by: Jean-Louis GUENEGO <jlguenego@gmail.com>
GH-135211 is a backport of this pull request to the 3.13 branch. |
…nt in the doc. (pythonGH-135181) Giving the right example incitates the tutorial readers to do the same in the future. (cherry picked from commit 3431828) Co-authored-by: Jean-Louis GUENEGO <jlguenego@gmail.com>
GH-135212 is a backport of this pull request to the 3.14 branch. |
Merged, thanks. |
…f comment in the doc. (GH-135181) (#135212) feat(docs): type fix - apply pep8 by using docstring instead of comment in the doc. (GH-135181) Giving the right example incitates the tutorial readers to do the same in the future. (cherry picked from commit 3431828) Co-authored-by: Jean-Louis GUENEGO <jlguenego@gmail.com>
…f comment in the doc. (GH-135181) (#135211) feat(docs): type fix - apply pep8 by using docstring instead of comment in the doc. (GH-135181) Giving the right example incitates the tutorial readers to do the same in the future. (cherry picked from commit 3431828) Co-authored-by: Jean-Louis GUENEGO <jlguenego@gmail.com>
replace comments by pep8 docstring for function definition.
📚 Documentation preview 📚: https://cpython-previews--135181.org.readthedocs.build/