cpython: #14679: add an __all__ (that contains only HTMLParser) to html.parser.
http://hg.python.org/cpython/rev/1f7ce8af3356 changeset: 83581:1f7ce8af3356 user: Ezio Melotti <ezio.melotti@gmail.com> date: Wed May 01 16:09:34 2013 +0300 summary: #14679: add an __all__ (that contains only HTMLParser) to html.parser. files: Lib/html/parser.py | 2 ++ Misc/NEWS | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Lib/html/parser.py b/Lib/html/parser.py --- a/Lib/html/parser.py +++ b/Lib/html/parser.py @@ -12,6 +12,8 @@ import re import warnings +__all__ = ['HTMLParser'] + # Regular expressions used for parsing interesting_normal = re.compile('[&<]') diff --git a/Misc/NEWS b/Misc/NEWS --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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. -- Repository URL: http://hg.python.org/cpython
participants (1)
-
ezio.melotti