1. Armin Rigo
  2. cpython-withatomic

Commits

Guido van Rossum  committed 0f5a26a

Fix typo in exception name (SGMLParserError should be SGMLParseError)
found by Neil Norwitz's PyChecker.

  • Participants
  • Parent commits 5fb0c46
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/sgmllib.py

View file
                     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)