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

Method pop_stackref

crates/vm/src/frame.rs:9356–9361  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

9354 #[inline]
9355 #[track_caller]
9356 fn pop_stackref(&mut self) -> PyStackRef {
9357 expect_unchecked(
9358 self.pop_stackref_opt(),
9359 "pop stackref but null found. This is a compiler bug.",
9360 )
9361 }
9362
9363 /// Pop a value from the stack, returning None if the stack slot is NULL.
9364 /// Automatically promotes borrowed refs to owned.

Callers 1

pop_valueMethod · 0.80

Calls 2

expect_uncheckedFunction · 0.85
pop_stackref_optMethod · 0.80

Tested by

no test coverage detected