summaryrefslogtreecommitdiff
path: root/Lib/HTMLParser.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2007-12-07 11:10:11 +0000
committerFred Drake <fdrake@acm.org>2007-12-07 11:10:11 +0000
commitcb5c80f6d9e6079b570cca6ff871caa34bbe76e4 (patch)
tree13e20eaab50b907e65b7e5adff0e73dc0818d51d /Lib/HTMLParser.py
parent15c3254958138364b056b98ed67bccef5a77cfeb (diff)
downloadcpython-git-cb5c80f6d9e6079b570cca6ff871caa34bbe76e4.tar.gz
rename markupbase to _markupbase
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.