def visit_Tuple(self, node): self.generic_visit(node) try: types = [self.result[elt] for elt in node.elts] self.result[node] = TupleType(types) except: pass # not very harmonious with the combine method ...
def visit_Tuple(self, node): self.generic_visit(node) types = [self.result[elt] for elt in node.elts] self.result[node] = TupleType(types)