We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4a288f commit e9e6fecCopy full SHA for e9e6fec
1 file changed
Doc/library/warnings.rst
@@ -638,6 +638,9 @@ Available Context Managers
638
- ``source``: the original object that generated the warning (if available), or ``None``
639
- ``module``: the module name where the warning occurred (:class:`str`), or ``None``
640
641
+ .. versionchanged:: 3.15
642
+ The ``module`` attribute was added.
643
+
644
The type of these objects is not specified and may change; only the presence of these attributes is guaranteed.
645
646
The *module* argument takes a module that will be used instead of the
0 commit comments