returning some goodies.

This commit is contained in:
Paul Tagliamonte 2012-12-18 21:20:41 -05:00
parent cda5c6534b
commit 8bc58b0c50

View File

@ -7,3 +7,9 @@ class HYList(HYObject, list):
def get_children(self): def get_children(self):
return self return self
def eval(self, ln, *args, **kwargs):
ret = []
for node in self.get_children():
ret.append(node.eval(ln, *args, **kwargs))
return ret