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

Method fget

crates/vm/src/builtins/property.rs:135–137  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

133
134 #[pygetset]
135 fn fget(&self) -> Option<PyObjectRef> {
136 self.getter.read().clone()
137 }
138
139 pub(crate) fn get_fget(&self) -> Option<PyObjectRef> {
140 self.getter.read().clone()

Callers 5

__get__Method · 0.80
__get__Method · 0.80
__get__Method · 0.80
__get__Method · 0.80
clone_property_withMethod · 0.80

Calls 2

cloneMethod · 0.45
readMethod · 0.45

Tested by 2

__get__Method · 0.64
__get__Method · 0.64