commit | 14ad5319d94901f6a74169f448badcf67f37c6ab | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Fri Aug 22 10:44:47 2014 -0400 |
committer | Brett Cannon <brett@python.org> | Fri Aug 22 10:44:47 2014 -0400 |
tree | 9e32321fec176b0593eb1755f94891563a601d74 | |
parent | a969ae2e112dd40ad3e31714ec11bf17864a0309 [diff] [blame] |
Issue #22191: Fix warnings.__all__. Thanks to Jon Poler for the patch.
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"]