Commit cf2d2ce4 authored by Taddeus Kroes's avatar Taddeus Kroes

Updated doctests.

parent fa7bed92
......@@ -15,7 +15,7 @@ def generate_line(root):
>>> plus2 = Node('+', l0, l1)
>>> times = Node('*', plus, plus2)
>>> print generate_line(times)
(1 + 2) * (1 + 2)
(1 + 2)(1 + 2)
>>> l2 = Leaf(3)
>>> uminus = Node('-', l2)
......
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