summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/calc/calc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/calc/calc.py b/example/calc/calc.py
index 17df4e7..b923780 100644
--- a/example/calc/calc.py
+++ b/example/calc/calc.py
@@ -89,7 +89,7 @@ def p_expression_name(p):
print("Undefined name '%s'" % p[1])
p[0] = 0
-def p_error(p,parser):
+def p_error(p):
if p:
print("Syntax error at '%s'" % p.value)
else: