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 3b922b4 commit a34f2d2Copy full SHA for a34f2d2
1 file changed
Doc/library/warnings.rst
@@ -622,15 +622,10 @@ Available Context Managers
622
- ``line``: the line of source code (if available), or ``None``
623
- ``source``: the original object that generated the warning (if
624
available), or ``None``
625
- - ``module``: the module name where the warning occurred
626
- (:class:`str`), or ``None``
627
628
.. versionchanged:: 3.6
629
The ``source`` attribute was added.
630
631
- .. versionchanged:: 3.15
632
- The ``module`` attribute was added.
633
-
634
The type of these objects is not specified and may change; only the
635
presence of these attributes is guaranteed.
636
0 commit comments