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

Method __init__

Tools/cases_generator/stack.py:219–224  ·  view source on GitHub ↗
(self, check_stack_bounds: bool = False)

Source from the content-addressed store, hash-verified

217
218class Stack:
219 def __init__(self, check_stack_bounds: bool = False) -> None:
220 self.base_offset = PointerOffset.zero()
221 self.physical_sp = PointerOffset.zero()
222 self.logical_sp = PointerOffset.zero()
223 self.variables: list[Local] = []
224 self.check_stack_bounds = check_stack_bounds
225
226 def push_cache(self, cached_items:list[str], out: CWriter) -> None:
227 for i, name in enumerate(cached_items):

Callers

nothing calls this directly

Calls 1

zeroMethod · 0.45

Tested by

no test coverage detected