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

Method visit_get_attr

mypyc/ir/pprint.py:132–133  ·  view source on GitHub ↗
(self, op: GetAttr)

Source from the content-addressed store, hash-verified

130 return self.format("%r = %s%s", op, prefix, rvalue)
131
132 def visit_get_attr(self, op: GetAttr) -> str:
133 return self.format("%r = %s%r.%s", op, self.borrow_prefix(op), op.obj, op.attr)
134
135 def borrow_prefix(self, op: Op) -> str:
136 if op.is_borrowed:

Callers

nothing calls this directly

Calls 2

formatMethod · 0.95
borrow_prefixMethod · 0.95

Tested by

no test coverage detected