micropython/ast.py | raw changeset files shortlog |
1.1 --- a/micropython/ast.py Tue Nov 06 00:16:26 2012 +0100 1.2 +++ b/micropython/ast.py Mon Nov 12 23:55:42 2012 +0100 1.3 @@ -77,6 +77,9 @@ 1.4 def __repr__(self): 1.5 return "Translation(%r)" % self.module 1.6 1.7 + def get_unit(self): 1.8 + return self.unit 1.9 + 1.10 def get_module_code(self): 1.11 1.12 """