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

Method push_value_opt

crates/vm/src/frame.rs:9317–9319  ·  view source on GitHub ↗

not a real track_caller but push_value is less useful for debugging

(&mut self, obj: Option<PyObjectRef>)

Source from the content-addressed store, hash-verified

9315 #[inline]
9316 #[track_caller] // not a real track_caller but push_value is less useful for debugging
9317 fn push_value_opt(&mut self, obj: Option<PyObjectRef>) {
9318 self.push_stackref_opt(obj.map(PyStackRef::new_owned));
9319 }
9320
9321 #[inline]
9322 #[track_caller]

Callers 1

execute_instructionMethod · 0.80

Calls 2

push_stackref_optMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected