diff options
| author | Guido van Rossum <guido@python.org> | 2001-04-15 13:01:41 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2001-04-15 13:01:41 (GMT) |
| commit | 74cde5bb3eea5187b199454ab275fe7cbb6e69b6 (patch) | |
| tree | ff61c6e158356f34ce6fad694770f588a43a4f56 /Lib/sgmllib.py | |
| parent | 815bee4cf455983e0b9d6c7ebef442141f792050 (diff) | |
| download | cpython-74cde5bb3eea5187b199454ab275fe7cbb6e69b6.zip cpython-74cde5bb3eea5187b199454ab275fe7cbb6e69b6.tar.gz cpython-74cde5bb3eea5187b199454ab275fe7cbb6e69b6.tar.bz2 | |
Fix typo in exception name (SGMLParserError should be SGMLParseError)
found by Neil Norwitz's PyChecker.
Diffstat (limited to 'Lib/sgmllib.py')
| -rw-r--r-- | Lib/sgmllib.py | 2 |
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) |
