diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-05-01 13:09:34 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-05-01 13:09:34 (GMT) |
commit | 1698babd1b4bb3416e51c3542b7d0bf28d57b736 (patch) | |
tree | 87349171754b772842ebce989c737195a0d7854b | |
parent | ed52f6cb73c9bda621503cbc558d3a1c3319e568 (diff) | |
download | cpython-1698babd1b4bb3416e51c3542b7d0bf28d57b736.zip cpython-1698babd1b4bb3416e51c3542b7d0bf28d57b736.tar.gz cpython-1698babd1b4bb3416e51c3542b7d0bf28d57b736.tar.bz2 |
#14679: add an __all__ (that contains only HTMLParser) to html.parser.
-rw-r--r-- | Lib/html/parser.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Lib/html/parser.py b/Lib/html/parser.py index f8ac828..485f6fa 100644 --- a/Lib/html/parser.py +++ b/Lib/html/parser.py @@ -12,6 +12,8 @@ import _markupbase import re import warnings +__all__ = ['HTMLParser'] + # Regular expressions used for parsing interesting_normal = re.compile('[&<]') @@ -10,6 +10,8 @@ What's New in Python 3.4.0 Alpha 1? Core and Builtins ----------------- +- Issue #14679: add an __all__ (that contains only HTMLParser) to html.parser. + - Issue #17853: Ensure locals of a class that shadow free variables always win over the closures. |