Commit fa7bed92 authored by Taddeus Kroes's avatar Taddeus Kroes

Corrected typo.

parent bf0b2e54
...@@ -107,7 +107,7 @@ def generate_line(root): ...@@ -107,7 +107,7 @@ def generate_line(root):
if op == '*': if op == '*':
left, right = node left, right = node
# Get the previous multiplcation element if the arity is # Get the previous multiplication element if the arity is
# greater than 2 # greater than 2
if left.title() == '*': if left.title() == '*':
left = left[1] left = left[1]
...@@ -130,7 +130,7 @@ def generate_line(root): ...@@ -130,7 +130,7 @@ def generate_line(root):
result += sep.join(e) result += sep.join(e)
else: else:
# Function # Function call
result = op + '(' + ', '.join(map(traverse, node)) + ')' result = op + '(' + ', '.join(map(traverse, node)) + ')'
return result return result
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment