summaryrefslogtreecommitdiff
path: root/Lib/test/test_htmlparser.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-09-24 20:15:51 +0000
committerFred Drake <fdrake@acm.org>2001-09-24 20:15:51 +0000
commita3bae3369cca83ee485ed3293e2ad4c53691ba1a (patch)
treee6fbd7fcc8376e81eb8752ecab218ef498843771 /Lib/test/test_htmlparser.py
parentbfc8fea1e0c46bc0a337237c32b8c1a32985c144 (diff)
downloadcpython-git-a3bae3369cca83ee485ed3293e2ad4c53691ba1a.tar.gz
Re-factor the SGMLParser class to use the new markupbase.ParserBase class.
Use a new internal method, error(), consistently to raise parse errors; the new base class also uses this. Adjust the parse_comment() method to return the new offset into the buffer instead of the number of characters scanned; this was the only helper method that did it this way, so we have better consistency now. Required to share the new base class. This fixes SF bug #448482 and #453706.
Diffstat (limited to 'Lib/test/test_htmlparser.py')
0 files changed, 0 insertions, 0 deletions