diff --git a/Lib/markupbase.py b/Lib/markupbase.py index 2055676fdbb..32237af9dd3 100644 --- a/Lib/markupbase.py +++ b/Lib/markupbase.py @@ -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")