]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 26 Sep 2024 00:16:18 +0000 (02:16 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Sep 2024 00:16:18 +0000 (17:16 -0700)
gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231)

* Adding hyperlink of argument

* Modify as reviewer suggested
(cherry picked from commit 828583a7855f15edc96e6721c226ace098ba463b)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
Doc/library/warnings.rst

index c66e65abee426f4836ef11c9dd1d30c0ed4902a1..83163cc688297ce5186d4e06e0b8a55a4a26104e 100644 (file)
@@ -595,6 +595,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