summaryrefslogtreecommitdiff
path: root/Lib/HTMLParser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/HTMLParser.py')
-rw-r--r--Lib/HTMLParser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/HTMLParser.py b/Lib/HTMLParser.py
index f0e520ca22..99791955f3 100644
--- a/Lib/HTMLParser.py
+++ b/Lib/HTMLParser.py
@@ -8,7 +8,7 @@
# and CDATA (character data -- only end tags are special).
-import markupbase
+import _markupbase
import re
# Regular expressions used for parsing
@@ -64,7 +64,7 @@ class HTMLParseError(Exception):
return result
-class HTMLParser(markupbase.ParserBase):
+class HTMLParser(_markupbase.ParserBase):
"""Find tags and other markup and call handler functions.
Usage:
@@ -96,7 +96,7 @@ class HTMLParser(markupbase.ParserBase):
self.rawdata = ''
self.lasttag = '???'
self.interesting = interesting_normal
- markupbase.ParserBase.reset(self)
+ _markupbase.ParserBase.reset(self)
def feed(self, data):
"""Feed data to the parser.