| commit | 01408453f12a1acd7c1b2caeca377d4bd6ea7947 | [log] [tgz] |
|---|---|---|
| author | Brett Cannon <[email protected]> | Fri Aug 22 10:50:47 2014 -0400 |
| committer | Brett Cannon <[email protected]> | Fri Aug 22 10:50:47 2014 -0400 |
| tree | f5e08fc3dac8f6cae585a156fa48b041162b209e | |
| parent | 95cf98625b484f9f960859d70300e62d0c14d779 [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 08b70af..bf9a5d8 100644 --- a/Lib/warnings.py +++ b/Lib/warnings.py
@@ -7,7 +7,8 @@ import sys import types -__all__ = ["warn", "showwarning", "formatwarning", "filterwarnings", +__all__ = ["warn", "warn_explicit", "showwarning", + "formatwarning", "filterwarnings", "simplefilter", "resetwarnings", "catch_warnings"]