summaryrefslogtreecommitdiffstats
path: root/Lib/warnings.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-08-22 14:44:47 (GMT)
committerBrett Cannon <brett@python.org>2014-08-22 14:44:47 (GMT)
commit14ad5319d94901f6a74169f448badcf67f37c6ab (patch)
tree9e32321fec176b0593eb1755f94891563a601d74 /Lib/warnings.py
parenta969ae2e112dd40ad3e31714ec11bf17864a0309 (diff)
downloadcpython-14ad5319d94901f6a74169f448badcf67f37c6ab.zip
cpython-14ad5319d94901f6a74169f448badcf67f37c6ab.tar.gz
cpython-14ad5319d94901f6a74169f448badcf67f37c6ab.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 a427e35..eeeba65 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"]