From b30bb815ecd40c6aa31078a10995a6f70a4e1147 Mon Sep 17 00:00:00 2001 From: Charles Machalow Date: Fri, 22 Mar 2024 07:43:38 -0700 Subject: [PATCH] Update Doc/library/warnings.rst Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- Doc/library/warnings.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index eae660719d4424..ca988bf0fe3cfc 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst @@ -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`.