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

Method label

mypyc/codegen/emit.py:230–231  ·  view source on GitHub ↗
(self, label: BasicBlock)

Source from the content-addressed store, hash-verified

228 assert self._indent >= 0
229
230 def label(self, label: BasicBlock) -> str:
231 return "CPyL%s" % label.label
232
233 def reg(self, reg: Value) -> str:
234 return REG_PREFIX + self.value_names[reg]

Callers 2

emit_labelMethod · 0.95
test_labelMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_labelMethod · 0.36