mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Fix typo in exception name (SGMLParserError should be SGMLParseError)
found by Neil Norwitz's PyChecker.
This commit is contained in:
parent
815bee4cf4
commit
74cde5bb3e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue