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

Method visit_unbox

mypyc/transform/log_trace.py:122–123  ·  view source on GitHub ↗
(self, op: Unbox)

Source from the content-addressed store, hash-verified

120 return self.log(op, "box", str(op.src.type))
121
122 def visit_unbox(self, op: Unbox) -> Value:
123 return self.log(op, "unbox", str(op.type))
124
125 def visit_cast(self, op: Cast) -> Value | None:
126 value = self.log(op, "cast", str(op.type))

Callers

nothing calls this directly

Calls 2

logMethod · 0.95
strClass · 0.85

Tested by

no test coverage detected