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

Method visit_star_expr

mypy/literals.py:183–184  ·  view source on GitHub ↗
(self, e: StarExpr)

Source from the content-addressed store, hash-verified

181 return ("Literal", e.value)
182
183 def visit_star_expr(self, e: StarExpr) -> Key:
184 return ("Star", literal_hash(e.expr))
185
186 def visit_name_expr(self, e: NameExpr) -> Key:
187 if isinstance(e.node, Var) and e.node.is_final and e.node.final_value is not None:

Callers

nothing calls this directly

Calls 1

literal_hashFunction · 0.85

Tested by

no test coverage detected