gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (#123231)

* Adding hyperlink of argument

* Modify as reviewer suggested
This commit is contained in:
Damien 2024-09-26 01:30:34 +08:00 committed by GitHub
parent f8651a2988
commit 828583a785
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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