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

Method visit_tuple_get

mypyc/ir/pprint.py:162–163  ·  view source on GitHub ↗
(self, op: TupleGet)

Source from the content-addressed store, hash-verified

160 return self.format("%s = %r :: %s", name, op.value, op.namespace)
161
162 def visit_tuple_get(self, op: TupleGet) -> str:
163 return self.format("%r = %s%r[%d]", op, self.borrow_prefix(op), op.src, op.index)
164
165 def visit_tuple_set(self, op: TupleSet) -> str:
166 item_str = ", ".join(self.format("%r", item) for item in op.items)

Callers

nothing calls this directly

Calls 2

formatMethod · 0.95
borrow_prefixMethod · 0.95

Tested by

no test coverage detected