]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 30 Sep 2024 21:16:42 +0000 (23:16 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Sep 2024 21:16:42 +0000 (14:16 -0700)
gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231)
(cherry picked from commit 828583a7855f15edc96e6721c226ace098ba463b)

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

index df38eaf8f6c74deee195c3910ed9851d555b4fe6..511b94a386d5b9a0571d37b536b0db7695955ea4 100644 (file)
@@ -545,6 +545,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