Commit a2f50d9d authored by Igor Dejanovic's avatar Igor Dejanovic

Small update in calc.py example docstring

parent 1795276b
......@@ -40,7 +40,7 @@ class CalcVisitor(PTNodeVisitor):
def visit_factor(self, node, children):
"""
Removes parenthesis if exists and returns what was contained inside.
Applies a sign to the expression or number.
"""
if self.debug:
print("Factor {}".format(children))
......
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