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

Method pop_inner

crates/vm/src/dict_inner.rs:733–736  ·  view source on GitHub ↗

returns Err(()) if changed since lookup

(&self, lookup: LookupResult)

Source from the content-addressed store, hash-verified

731
732 // returns Err(()) if changed since lookup
733 fn pop_inner(&self, lookup: LookupResult) -> PopInnerResult<T> {
734 self.pop_inner_if(lookup, |_| Ok::<_, core::convert::Infallible>(true))
735 .unwrap_or_else(|x| match x {})
736 }
737
738 fn pop_inner_if<E>(
739 &self,

Callers 2

delete_or_insertMethod · 0.80
popMethod · 0.80

Calls 1

pop_inner_ifMethod · 0.80

Tested by

no test coverage detected