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

Method new_label

mypyc/codegen/emit.py:294–296  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

292 return "__tmp%d" % self.context.temp_counter
293
294 def new_label(self) -> str:
295 self.context.temp_counter += 1
296 return "__LL%d" % self.context.temp_counter
297
298 def get_module_group_prefix(self, module_name: str) -> str:
299 """Get the group prefix for a module (relative to the current group).

Callers 2

emit_union_castMethod · 0.95
emit_tuple_castMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected