mirror of
https://github.com/python/cpython.git
synced 2025-01-19 15:05:15 +08:00
Remove extra param from call to self.error().
Reported by Neal Norwitz.
This commit is contained in:
parent
2bae4face2
commit
3d32be192c
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user