Skip to content

Commit

Permalink
pythongh-123223: Adding hyperlink of argument in warnings.catch_warni…
Browse files Browse the repository at this point in the history
…ngs: (pythonGH-123231)

* Adding hyperlink of argument

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

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
  • Loading branch information
Damien-Chen authored and miss-islington committed Sep 25, 2024
1 parent 2f25d85 commit 32d04f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Doc/library/warnings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32d04f1

Please sign in to comment.