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

Method push

Tools/cases_generator/stack.py:288–291  ·  view source on GitHub ↗
(self, var: Local)

Source from the content-addressed store, hash-verified

286 self.base_offset = self.logical_sp
287
288 def push(self, var: Local) -> None:
289 assert(var not in self.variables), var
290 self.variables.append(var)
291 self.logical_sp = self.logical_sp.push(var.item)
292
293 @staticmethod
294 def _do_emit(

Callers 10

test_effect_sizesMethod · 0.95
push_cacheMethod · 0.95
declare_variablesFunction · 0.95
emit_defaultFunction · 0.45
save_variablesMethod · 0.45
apply_stack_effectFunction · 0.45
_push_defined_outputsMethod · 0.45
for_uopMethod · 0.45
push_outputsMethod · 0.45
close_inputsMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by 1

test_effect_sizesMethod · 0.76