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

Method get

crates/vm/src/object/core.rs:932–934  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

930
931 #[inline]
932 pub fn get(&self) -> PyDictRef {
933 self.d.read().clone()
934 }
935
936 #[inline]
937 pub fn set(&self, d: PyDictRef) {

Callers 12

beginFunction · 0.45
endFunction · 0.45
clearMethod · 0.45
countMethod · 0.45
dictMethod · 0.45
strong_countMethod · 0.45
is_borrowedMethod · 0.45
as_objectMethod · 0.45
to_pyobjMethod · 0.45
promoteMethod · 0.45
dropMethod · 0.45

Calls 2

cloneMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected