summaryrefslogtreecommitdiffstats
path: root/Lib/markupbase.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-13 15:59:47 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-13 15:59:47 (GMT)
commit3d32be192cb6104058d9d45acb93ba58c6c6cddc (patch)
treea1f86370dcc728afa5ef19af194990a36e147eb0 /Lib/markupbase.py
parent2bae4face24ac270520ca88f763886d1dca5a705 (diff)
downloadcpython-3d32be192cb6104058d9d45acb93ba58c6c6cddc.zip
cpython-3d32be192cb6104058d9d45acb93ba58c6c6cddc.tar.gz
cpython-3d32be192cb6104058d9d45acb93ba58c6c6cddc.tar.bz2
Remove extra param from call to self.error().
Reported by Neal Norwitz.
Diffstat (limited to 'Lib/markupbase.py')
-rw-r--r--Lib/markupbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/markupbase.py b/Lib/markupbase.py
index 2055676..32237af 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")