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

Method visit_Starred

mypy/fastparse.py:2160–2161  ·  view source on GitHub ↗
(self, n: ast3.Starred)

Source from the content-addressed store, hash-verified

2158
2159 # Used for Callable[[X *Ys, Z], R] etc.
2160 def visit_Starred(self, n: ast3.Starred) -> Type:
2161 return UnpackType(self.visit(n.value), from_star_syntax=True)
2162
2163 # List(expr* elts, expr_context ctx)
2164 def visit_List(self, n: ast3.List) -> Type:

Callers

nothing calls this directly

Calls 2

visitMethod · 0.95
UnpackTypeClass · 0.90

Tested by

no test coverage detected