From: Ezio Melotti Date: Wed, 1 May 2013 13:09:34 +0000 (+0300) Subject: #14679: add an __all__ (that contains only HTMLParser) to html.parser. X-Git-Tag: v3.4.0a1~820^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1698babd1b4bb3416e51c3542b7d0bf28d57b736;p=thirdparty%2FPython%2Fcpython.git #14679: add an __all__ (that contains only HTMLParser) to html.parser. --- diff --git a/Lib/html/parser.py b/Lib/html/parser.py index f8ac82834a3e..485f6fac6ffe 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('[&<]') diff --git a/Misc/NEWS b/Misc/NEWS index ee4c73a900ec..bce32d95d8fd 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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.