summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien <81557462+Damien-Chen@users.noreply.github.com>2024-09-25 17:30:34 (GMT)
committerGitHub <noreply@github.com>2024-09-25 17:30:34 (GMT)
commit828583a7855f15edc96e6721c226ace098ba463b (patch)
tree844fd9c8c597ad319d1763ef4b425d93c30fc603
parentf8651a2988274be091ecd6efc2916f38d9fb9577 (diff)
downloadcpython-828583a7855f15edc96e6721c226ace098ba463b.zip
cpython-828583a7855f15edc96e6721c226ace098ba463b.tar.gz
cpython-828583a7855f15edc96e6721c226ace098ba463b.tar.bz2
gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (#123231)
* Adding hyperlink of argument * Modify as reviewer suggested
-rw-r--r--Doc/library/warnings.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst
index 68b9ff5..5ea65cb 100644
--- a/Doc/library/warnings.rst
+++ b/Doc/library/warnings.rst
@@ -597,6 +597,9 @@ Available Context Managers
passed to :func:`simplefilter` as if it were called immediately on
entering the context.
+ See :ref:`warning-filter` for the meaning of the *category* and *lineno*
+ parameters.
+
.. note::
The :class:`catch_warnings` manager works by replacing and