From: Damien <81557462+Damien-Chen@users.noreply.github.com> Date: Wed, 25 Sep 2024 17:30:34 +0000 (+0800) Subject: gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (#123231) X-Git-Tag: v3.14.0a1~350 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=828583a7855f15edc96e6721c226ace098ba463b;p=thirdparty%2FPython%2Fcpython.git gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (#123231) * Adding hyperlink of argument * Modify as reviewer suggested --- diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index 68b9ff5ce2f7..5ea65cbd8ca9 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst @@ -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