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

Method log_inc_ref

mypyc/transform/log_trace.py:137–138  ·  view source on GitHub ↗
(self, value: Value)

Source from the content-addressed store, hash-verified

135 return self.log(op, "dec_ref", str(op.src.type))
136
137 def log_inc_ref(self, value: Value) -> None:
138 self.log_event("inc_ref", str(value.type), value.line)
139
140 def log(self, op: Op, name: str, details: str) -> Value:
141 self.log_event(name, details, op.line)

Callers 4

visit_primitive_opMethod · 0.95
visit_call_cMethod · 0.95
visit_get_attrMethod · 0.95
visit_castMethod · 0.95

Calls 2

log_eventMethod · 0.95
strClass · 0.85

Tested by

no test coverage detected