MCPcopy Index your code
hub / github.com/RustPython/RustPython / stack_is_empty

Method stack_is_empty

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

Source from the content-addressed store, hash-verified

289 /// Whether the stack is empty.
290 #[inline(always)]
291 fn stack_is_empty(&self) -> bool {
292 self.stack_top == 0
293 }
294
295 /// Push a value onto the evaluation stack.
296 #[inline(always)]

Callers 2

yield_from_targetMethod · 0.80
pop_stackref_optMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected