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

Method temp_name

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

Source from the content-addressed store, hash-verified

288 self.emit_line("fflush(stdout);")
289
290 def temp_name(self) -> str:
291 self.context.temp_counter += 1
292 return "__tmp%d" % self.context.temp_counter
293
294 def new_label(self) -> str:
295 self.context.temp_counter += 1

Callers 2

emit_unboxMethod · 0.95
emit_boxMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected