Remove extra param from call to self.error().

Reported by Neal Norwitz.
This commit is contained in:
Fred Drake 2001-10-13 15:59:47 +00:00
parent 2bae4face2
commit 3d32be192c
1 changed files with 1 additions and 1 deletions

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