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

Method save_inputs

Tools/cases_generator/stack.py:531–538  ·  view source on GitHub ↗
(self, out: CWriter)

Source from the content-addressed store, hash-verified

529 self.spilled += 1
530
531 def save_inputs(self, out: CWriter) -> None:
532 assert self.spilled >= 0
533 if self.spilled == 0:
534 self.clear_dead_inputs()
535 self.stack.flush(out)
536 out.start_line()
537 out.emit_spill()
538 self.spilled += 1
539
540 def reload(self, out: CWriter) -> None:
541 if self.spilled == 0:

Callers

nothing calls this directly

Calls 4

clear_dead_inputsMethod · 0.95
start_lineMethod · 0.80
emit_spillMethod · 0.80
flushMethod · 0.45

Tested by

no test coverage detected