MCPcopy Index your code
hub / github.com/python/cpython / __repr__

Method __repr__

Tools/cases_generator/stack.py:148–149  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

146 in_local: bool
147
148 def __repr__(self) -> str:
149 return f"Local('{self.item.name}', mem={self.memory_offset}, local={self.in_local}, array={self.is_array()})"
150
151 def compact_str(self) -> str:
152 mtag = "M" if self.memory_offset else ""

Callers

nothing calls this directly

Calls 1

is_arrayMethod · 0.95

Tested by

no test coverage detected