summaryrefslogtreecommitdiffstats
path: root/Lib/warnings.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-08-22 14:50:47 (GMT)
committerBrett Cannon <brett@python.org>2014-08-22 14:50:47 (GMT)
commit01408453f12a1acd7c1b2caeca377d4bd6ea7947 (patch)
treef5e08fc3dac8f6cae585a156fa48b041162b209e /Lib/warnings.py
parent95cf98625b484f9f960859d70300e62d0c14d779 (diff)
downloadcpython-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.py3
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"]