diff options
author | Marion <marion.zepf@gmail.com> | 2013-09-04 14:57:59 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-09-04 14:57:59 (GMT) |
commit | e0fcb7656caf8d35e3e4bfa9ce99729328f35b1d (patch) | |
tree | 48c4bd8b13d4493bb324cc5317905dd83a42cfaa /util | |
parent | 920f49dbbb32ae738c63eda2919afa7e0ec16061 (diff) |
introduce TypedCall, a Call AST that knows its return type
- Add a visitor for TypedCall to util.codegen.
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 1bcc42f..f892308 100644 --- a/util/codegen.py +++ b/util/codegen.py @@ -393,6 +393,7 @@ class SourceGenerator(NodeVisitor): self.write('**') self.visit(node.kwargs) self.write(')') + visit_TypedCall = visit_Call def visit_Name(self, node): self.write(node.id) |