Issue #22191: Fix warnings.__all__.

Thanks to Jon Poler for the patch.
This commit is contained in:
Brett Cannon 2014-08-22 10:44:47 -04:00
parent a969ae2e11
commit 14ad5319d9
4 changed files with 24 additions and 1 deletions

View file

@ -2,7 +2,8 @@
import sys
__all__ = ["warn", "showwarning", "formatwarning", "filterwarnings",
__all__ = ["warn", "warn_explicit", "showwarning",
"formatwarning", "filterwarnings", "simplefilter",
"resetwarnings", "catch_warnings"]