commit | 74cde5bb3eea5187b199454ab275fe7cbb6e69b6 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun Apr 15 13:01:41 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun Apr 15 13:01:41 2001 +0000 |
tree | ff61c6e158356f34ce6fad694770f588a43a4f56 | |
parent | 815bee4cf455983e0b9d6c7ebef442141f792050 [diff] |
Fix typo in exception name (SGMLParserError should be SGMLParseError) found by Neil Norwitz's PyChecker.
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 @@ 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)