MCPcopy Create free account
hub / github.com/RustPython/RustPython / stack_capacity

Method stack_capacity

crates/vm/src/frame.rs:258–260  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

256 /// Stack capacity (max stack depth).
257 #[inline(always)]
258 fn stack_capacity(&self) -> usize {
259 self.capacity() - self.nlocalsplus as usize
260 }
261
262 // -- Fastlocals access --
263

Callers

nothing calls this directly

Calls 1

capacityMethod · 0.45

Tested by

no test coverage detected