Skip to content

Commit 0cfdec8

Browse files
authored
add versionchanged for source
1 parent e9e6fec commit 0cfdec8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/library/warnings.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,9 @@ Available Context Managers
638638
- ``source``: the original object that generated the warning (if available), or ``None``
639639
- ``module``: the module name where the warning occurred (:class:`str`), or ``None``
640640

641+
.. versionchanged:: 3.6
642+
The ``source`` attribute was added.
643+
641644
.. versionchanged:: 3.15
642645
The ``module`` attribute was added.
643646

0 commit comments

Comments
 (0)