diff options
| author | Charles-Francois Natali <cf.natali@gmail.com> | 2013-05-01 15:15:50 +0200 |
|---|---|---|
| committer | Charles-Francois Natali <cf.natali@gmail.com> | 2013-05-01 15:15:50 +0200 |
| commit | 8a42d601888e9f71e2c1fcfe93593c509f431c15 (patch) | |
| tree | 0d95d3fee7d32c97ab465409968ebb4d7744ceac | |
| parent | f18a82d95631e5b746129d792adeb920360d4fdc (diff) | |
| parent | 8dff4bd7afbec4ed446791209bf89f9ca6679336 (diff) | |
| download | cpython-git-8a42d601888e9f71e2c1fcfe93593c509f431c15.tar.gz | |
Merge.
| -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 f8ac82834a..485f6fac6f 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('[&<]') @@ -60,6 +60,8 @@ Core and Builtins Library ------- +- Issue #14679: add an __all__ (that contains only HTMLParser) to html.parser. + - Issue #17358: Modules loaded by imp.load_source() and load_compiled() (and by extention load_module()) now have a better chance of working when reloaded. |
