-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-134109: Fix showing comments in pydoc output for argparse #134110
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-134109: Fix showing comments in pydoc output for argparse #134110
Conversation
Comments immediately preceding the object's source code are used if the object has no docstring. Comments that do not describe the object should be separated from the following source code by an empty line.
4669246
to
58bdd28
Compare
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…ythonGH-134110) Comments immediately preceding the object's source code are used if the object has no docstring. Comments that do not describe the object should be separated from the following source code by an empty line. (cherry picked from commit 71cf4dd) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…ythonGH-134110) Comments immediately preceding the object's source code are used if the object has no docstring. Comments that do not describe the object should be separated from the following source code by an empty line. (cherry picked from commit 71cf4dd) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-134112 is a backport of this pull request to the 3.14 branch. |
GH-134113 is a backport of this pull request to the 3.13 branch. |
…H-134110) (GH-134113) Comments immediately preceding the object's source code are used if the object has no docstring. Comments that do not describe the object should be separated from the following source code by an empty line. (cherry picked from commit 71cf4dd) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…H-134110) (GH-134112) Comments immediately preceding the object's source code are used if the object has no docstring. Comments that do not describe the object should be separated from the following source code by an empty line. (cherry picked from commit 71cf4dd) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
Comments immediately preceding the object's source code are used if the object has no docstring.
Comments that do not describe the object should be separated from the following source code by an empty line.