MCPcopy
hub / github.com/python/mypy / visit_Set

Method visit_Set

mypy/fastparse.py:1550–1552  ·  view source on GitHub ↗
(self, n: ast3.Set)

Source from the content-addressed store, hash-verified

1548
1549 # Set(expr* elts)
1550 def visit_Set(self, n: ast3.Set) -> SetExpr:
1551 e = SetExpr(self.translate_expr_list(n.elts))
1552 return self.set_line(e, n)
1553
1554 # ListComp(expr elt, comprehension* generators)
1555 def visit_ListComp(self, n: ast3.ListComp) -> ListComprehension:

Callers

nothing calls this directly

Calls 3

translate_expr_listMethod · 0.95
set_lineMethod · 0.95
SetExprClass · 0.90

Tested by

no test coverage detected