(original) (raw)

changeset: 83581:1f7ce8af3356 user: Ezio Melotti ezio.melotti@gmail.com date: Wed May 01 16:09:34 2013 +0300 files: Lib/html/parser.py Misc/NEWS description: #14679: add an __all__ (that contains only HTMLParser) to html.parser. diff -r 3f1bcfbed022 -r 1f7ce8af3356 Lib/html/parser.py --- a/Lib/html/parser.py Wed May 01 14:58:09 2013 +0300 +++ b/Lib/html/parser.py Wed May 01 16:09:34 2013 +0300 @@ -12,6 +12,8 @@ import re import warnings +__all__ = ['HTMLParser'] + # Regular expressions used for parsing interesting_normal = re.compile('[&<]') diff -r 3f1bcfbed022 -r 1f7ce8af3356 Misc/NEWS --- a/Misc/NEWS Wed May 01 14:58:09 2013 +0300 +++ b/Misc/NEWS Wed May 01 16:09:34 2013 +0300 @@ -10,6 +10,8 @@ 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. /ezio.melotti@gmail.com