]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (#123231)
authorDamien <81557462+Damien-Chen@users.noreply.github.com>
Wed, 25 Sep 2024 17:30:34 +0000 (01:30 +0800)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2024 17:30:34 +0000 (10:30 -0700)
* Adding hyperlink of argument

* Modify as reviewer suggested

Doc/library/warnings.rst

index 68b9ff5ce2f78c35a8f6f39719cc753fe79311ad..5ea65cbd8ca94c4da2e07f5f58c4130e36ad275b 100644 (file)
@@ -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