mirror of
https://github.com/python/cpython.git
synced 2025-10-25 18:54:53 +00:00
Remove extra param from call to self.error().
Reported by Neal Norwitz.
This commit is contained in:
parent
2bae4face2
commit
3d32be192c
1 changed files with 1 additions and 1 deletions
|
|
@ -303,4 +303,4 @@ def _scan_name(self, i, declstartpos):
|
|||
return string.lower(name), m.end()
|
||||
else:
|
||||
self.updatepos(declstartpos, i)
|
||||
self.error("expected name token", self.getpos())
|
||||
self.error("expected name token")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue