From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 30 Sep 2024 21:16:42 +0000 (+0200) Subject: [3.12] gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231... X-Git-Tag: v3.12.7~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=660a7f2b523a9a9cc93ef2b2d73127c7cddb0bf6;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231) (#124527) 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> --- diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index df38eaf8f6c7..511b94a386d5 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst @@ -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