summaryrefslogtreecommitdiffstats
path: root/Lib/sgmllib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sgmllib.py')
-rw-r--r--Lib/sgmllib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py
index 2ebe698..5388c07 100644
--- a/Lib/sgmllib.py
+++ b/Lib/sgmllib.py
@@ -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)