Skip to content

Commit e9e6fec

Browse files
authored
add version added for module
1 parent d4a288f commit e9e6fec

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.15
642+
The ``module`` attribute was added.
643+
641644
The type of these objects is not specified and may change; only the presence of these attributes is guaranteed.
642645

643646
The *module* argument takes a module that will be used instead of the

0 commit comments

Comments
 (0)