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

Method visit_list_expr

mypy/literals.py:214–215  ·  view source on GitHub ↗
(self, e: ListExpr)

Source from the content-addressed store, hash-verified

212 return None
213
214 def visit_list_expr(self, e: ListExpr) -> Key | None:
215 return self.seq_expr(e, "List")
216
217 def visit_dict_expr(self, e: DictExpr) -> Key | None:
218 if all(a and literal(a) == literal(b) == LITERAL_YES for a, b in e.items):

Callers

nothing calls this directly

Calls 1

seq_exprMethod · 0.95

Tested by

no test coverage detected