diff options
author | Brett Cannon <brett@python.org> | 2014-08-22 14:50:47 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2014-08-22 14:50:47 (GMT) |
commit | 01408453f12a1acd7c1b2caeca377d4bd6ea7947 (patch) | |
tree | f5e08fc3dac8f6cae585a156fa48b041162b209e /Lib/warnings.py | |
parent | 95cf98625b484f9f960859d70300e62d0c14d779 (diff) | |
download | cpython-01408453f12a1acd7c1b2caeca377d4bd6ea7947.zip cpython-01408453f12a1acd7c1b2caeca377d4bd6ea7947.tar.gz cpython-01408453f12a1acd7c1b2caeca377d4bd6ea7947.tar.bz2 |
Issue #22191: Fix warnings.__all__.
Thanks to Jon Poler for the patch.
Diffstat (limited to 'Lib/warnings.py')
-rw-r--r-- | Lib/warnings.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/warnings.py b/Lib/warnings.py index 08b70af..bf9a5d8 100644 --- a/Lib/warnings.py +++ b/Lib/warnings.py @@ -7,7 +7,8 @@ import linecache import sys import types -__all__ = ["warn", "showwarning", "formatwarning", "filterwarnings", +__all__ = ["warn", "warn_explicit", "showwarning", + "formatwarning", "filterwarnings", "simplefilter", "resetwarnings", "catch_warnings"] |