]> granicus.if.org Git - python/commitdiff
#14679: add an __all__ (that contains only HTMLParser) to html.parser.
authorEzio Melotti <ezio.melotti@gmail.com>
Wed, 1 May 2013 13:09:34 +0000 (16:09 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Wed, 1 May 2013 13:09:34 +0000 (16:09 +0300)
Lib/html/parser.py
Misc/NEWS

index f8ac82834a3e200fe707e818b1260e2417bcf660..485f6fac6ffe4277d87ee435dc8e97aba4d97a8e 100644 (file)
@@ -12,6 +12,8 @@ import _markupbase
 import re
 import warnings
 
+__all__ = ['HTMLParser']
+
 # Regular expressions used for parsing
 
 interesting_normal = re.compile('[&<]')
index ee4c73a900ecd6cbc4534c0fc8de3dcab4631b54..bce32d95d8fd7c91f5f4493eb89ab135b0ec4583 100644 (file)
--- 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.