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

Method visit_list_expr

mypy/checkexpr.py:5166–5168  ·  view source on GitHub ↗

Type check a list expression [...].

(self, e: ListExpr)

Source from the content-addressed store, hash-verified

5164 return AnyType(TypeOfAny.special_form)
5165
5166 def visit_list_expr(self, e: ListExpr) -> Type:
5167 """Type check a list expression [...]."""
5168 return self.check_lst_expr(e, "builtins.list", "<list>")
5169
5170 def visit_set_expr(self, e: SetExpr) -> Type:
5171 return self.check_lst_expr(e, "builtins.set", "<set>")

Callers

nothing calls this directly

Calls 1

check_lst_exprMethod · 0.95

Tested by

no test coverage detected