Skip to content

Commit

Permalink
Update Doc/library/warnings.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo van Kemenade <[email protected]>
  • Loading branch information
csm10495 and hugovk authored Mar 22, 2024
1 parent a97e24c commit b30bb81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/warnings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,6 @@ is primarily used by :class:`catch_warnings` with *record* set to :const:`True`

.. class:: WarningMessage(message, category, filename, lineno, file=None, line=None, source=None)

The *message*, *category*, *filename*, *lineno*, *file*, *line*, have the same meaning as they
have in :func:`showwarning`. *source* is optionally given to indicate the destroyed object which
*message*, *category*, *filename*, *lineno*, *file* and *line* have the same meaning as
in :func:`showwarning`. *source* is optionally given to indicate the destroyed object which
emitted a :exc:`ResourceWarning`.

0 comments on commit b30bb81

Please sign in to comment.