summaryrefslogtreecommitdiff
path: root/Lib/html
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-05-01 16:09:34 +0300
committerEzio Melotti <ezio.melotti@gmail.com>2013-05-01 16:09:34 +0300
commit1698babd1b4bb3416e51c3542b7d0bf28d57b736 (patch)
tree87349171754b772842ebce989c737195a0d7854b /Lib/html
parented52f6cb73c9bda621503cbc558d3a1c3319e568 (diff)
downloadcpython-git-1698babd1b4bb3416e51c3542b7d0bf28d57b736.tar.gz
#14679: add an __all__ (that contains only HTMLParser) to html.parser.
Diffstat (limited to 'Lib/html')
-rw-r--r--Lib/html/parser.py2
1 files changed, 2 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('[&<]')