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 e9e6fec commit 0cfdec8Copy full SHA for 0cfdec8
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.6
642
+ The ``source`` attribute was added.
643
+
644
.. versionchanged:: 3.15
645
The ``module`` attribute was added.
646
0 commit comments