summaryrefslogtreecommitdiff
path: root/Lib/warnings.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-08-22 10:44:47 -0400
committerBrett Cannon <brett@python.org>2014-08-22 10:44:47 -0400
commit93823c67c94030d6449877cccb4e92abf0d545be (patch)
tree0ab0b4b25d365efc64bddc9aa0b2e515492dddea /Lib/warnings.py
parent59d1c6b77190bb030ec99a6f28ba938c2526076c (diff)
downloadcpython-93823c67c94030d6449877cccb4e92abf0d545be.tar.gz
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 a427e3510e..eeeba65374 100644
--- a/Lib/warnings.py
+++ b/Lib/warnings.py
@@ -2,7 +2,8 @@
import sys
-__all__ = ["warn", "showwarning", "formatwarning", "filterwarnings",
+__all__ = ["warn", "warn_explicit", "showwarning",
+ "formatwarning", "filterwarnings", "simplefilter",
"resetwarnings", "catch_warnings"]