diff options
author | Marion <marion.zepf@gmail.com> | 2013-09-04 15:26:15 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-09-04 15:26:15 (GMT) |
commit | 6246f66ec31eff848a0b6e0ae75bafd94111ca6a (patch) | |
tree | 3d1ede2fe72309cf792648140072ebc561a067e8 /util | |
parent | 97b945e1e088c2e51d9a6233be49c401040883e9 (diff) |
introduce TypedLambda, a Lambda AST with a return type
Diffstat (limited to 'util')
-rw-r--r-- | util/codegen.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/codegen.py b/util/codegen.py index f892308..43e9707 100644 --- a/util/codegen.py +++ b/util/codegen.py @@ -503,6 +503,7 @@ class SourceGenerator(NodeVisitor): self.signature(node.args) self.write(': ') self.visit(node.body) + visit_TypedLambda = visit_Lambda def visit_Ellipsis(self, node): self.write('Ellipsis') |