]> granicus.if.org Git - python/commitdiff
Remove extra param from call to self.error().
authorFred Drake <fdrake@acm.org>
Sat, 13 Oct 2001 15:59:47 +0000 (15:59 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 13 Oct 2001 15:59:47 +0000 (15:59 +0000)
Reported by Neal Norwitz.

Lib/markupbase.py

index 2055676fdbbc6beb954fa60c745ab55d8b1bfffd..32237af9dd3c7749c3211a639a6253bb5de1285d 100644 (file)
@@ -303,4 +303,4 @@ class ParserBase:
             return string.lower(name), m.end()
         else:
             self.updatepos(declstartpos, i)
-            self.error("expected name token", self.getpos())
+            self.error("expected name token")