summaryrefslogtreecommitdiffstats
path: root/Lib/sgmllib.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2007-12-07 11:10:11 (GMT)
committerFred Drake <fdrake@acm.org>2007-12-07 11:10:11 (GMT)
commitcb5c80f6d9e6079b570cca6ff871caa34bbe76e4 (patch)
tree13e20eaab50b907e65b7e5adff0e73dc0818d51d /Lib/sgmllib.py
parent15c3254958138364b056b98ed67bccef5a77cfeb (diff)
downloadcpython-cb5c80f6d9e6079b570cca6ff871caa34bbe76e4.zip
cpython-cb5c80f6d9e6079b570cca6ff871caa34bbe76e4.tar.gz
cpython-cb5c80f6d9e6079b570cca6ff871caa34bbe76e4.tar.bz2
rename markupbase to _markupbase
Diffstat (limited to 'Lib/sgmllib.py')
-rw-r--r--Lib/sgmllib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py
index ce5807b..7eca9de 100644
--- a/Lib/sgmllib.py
+++ b/Lib/sgmllib.py
@@ -9,7 +9,7 @@
# not supported at all.
-import markupbase
+import _markupbase
import re
__all__ = ["SGMLParser", "SGMLParseError"]
@@ -52,7 +52,7 @@ class SGMLParseError(RuntimeError):
# chunks). Entity references are passed by calling
# self.handle_entityref() with the entity reference as argument.
-class SGMLParser(markupbase.ParserBase):
+class SGMLParser(_markupbase.ParserBase):
# Definition of entities -- derived classes may override
entity_or_charref = re.compile('&(?:'
'([a-zA-Z][-.a-zA-Z0-9]*)|#([0-9]+)'
@@ -71,7 +71,7 @@ class SGMLParser(markupbase.ParserBase):
self.lasttag = '???'
self.nomoretags = 0
self.literal = 0
- markupbase.ParserBase.reset(self)
+ _markupbase.ParserBase.reset(self)
def setnomoretags(self):
"""Enter literal mode (CDATA) till EOF.