# HG changeset patch # User Jeff Hammel # Date 1375839015 25200 # Node ID 866c5b1bc4e83ba6ad64b1af29413be4bc34a52d # Parent 5417eb6364ee153f4caa38e6f970d5cfd7768762 stubbing diff -r 5417eb6364ee -r 866c5b1bc4e8 python/tree.py --- a/python/tree.py Tue Aug 06 18:26:42 2013 -0700 +++ b/python/tree.py Tue Aug 06 18:30:15 2013 -0700 @@ -46,9 +46,11 @@ def __init__(self, parent=None): self.parent = parent + self._children = [] def children(self): """returns children of the tree""" + return self._children # base implementation def add(self, item): """add a child to the tree root"""