MCPcopy Index your code
hub / github.com/python/mypy / visit_SetComp

Method visit_SetComp

mypy/fastparse.py:1560–1562  ·  view source on GitHub ↗
(self, n: ast3.SetComp)

Source from the content-addressed store, hash-verified

1558
1559 # SetComp(expr elt, comprehension* generators)
1560 def visit_SetComp(self, n: ast3.SetComp) -> SetComprehension:
1561 e = SetComprehension(self.visit_GeneratorExp(cast(ast3.GeneratorExp, n)))
1562 return self.set_line(e, n)
1563
1564 # DictComp(expr key, expr value, comprehension* generators)
1565 def visit_DictComp(self, n: ast3.DictComp) -> DictionaryComprehension:

Callers

nothing calls this directly

Calls 3

visit_GeneratorExpMethod · 0.95
set_lineMethod · 0.95
SetComprehensionClass · 0.90

Tested by

no test coverage detected