Fix typo in exception name (SGMLParserError should be SGMLParseError)

found by Neil Norwitz's PyChecker.
This commit is contained in:
Guido van Rossum 2001-04-15 13:01:41 +00:00
parent 815bee4cf4
commit 74cde5bb3e
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ class SGMLParser:
if rawdata[i-1] != ';': i = i-1
continue
else:
raise SGMLParserError('neither < nor & ??')
raise SGMLParseError('neither < nor & ??')
# We get here only if incomplete matches but
# nothing else
match = incomplete.match(rawdata, i)