-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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-123223: Adding hyperlink of argument in warnings.catch_warnings: #123231
Conversation
Doc/library/warnings.rst
Outdated
The definition of *category* and *lineno* are same as defined | ||
at the top of :ref:`warning-filter` field. | ||
|
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.
I would put it after the documentation on the action argument.
See :ref:`warning-filter` for the meaning of the *category* and *lineno*
parameters.
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.
Understood~
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.
A note makes sense here
Thanks @Damien-Chen for the PR, and @nanjekyejoannah for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks @Damien-Chen for the PR, and @nanjekyejoannah for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…ngs: (pythonGH-123231) * Adding hyperlink of argument * Modify as reviewer suggested (cherry picked from commit 828583a) Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
GH-124527 is a backport of this pull request to the 3.12 branch. |
…ngs: (pythonGH-123231) * Adding hyperlink of argument * Modify as reviewer suggested (cherry picked from commit 828583a) Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
GH-124528 is a backport of this pull request to the 3.13 branch. |
As in #123223, these arugment are mentioned at the top of the same page, so adding hyperlink so that when user at the buttom of the page, they are able to review the definition of those argument convinently.
📚 Documentation preview 📚: https://cpython-previews--123231.org.readthedocs.build/