From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 26 Sep 2024 00:16:18 +0000 (+0200) Subject: [3.13] gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231... X-Git-Tag: v3.13.0rc3~80 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9fba1063a1ba03fd9ce686eac5620f2b87b2aa35;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231) (#124528) 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> --- diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index c66e65abee42..83163cc68829 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst @@ -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