Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d32be1

Browse files
committed
Remove extra param from call to self.error().
Reported by Neal Norwitz.
1 parent 2bae4fa commit 3d32be1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/markupbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,4 +303,4 @@ def _scan_name(self, i, declstartpos):
303303
return string.lower(name), m.end()
304304
else:
305305
self.updatepos(declstartpos, i)
306-
self.error("expected name token", self.getpos())
306+
self.error("expected name token")

0 commit comments

Comments
 (0)