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

Method doc_getter

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

Source from the content-addressed store, hash-verified

164 }
165
166 fn doc_getter(&self) -> Option<PyObjectRef> {
167 self.doc.read().clone()
168 }
169 fn doc_setter(&self, value: Option<PyObjectRef>) {
170 *self.doc.write() = value;
171 }

Callers 1

clone_property_withMethod · 0.80

Calls 2

cloneMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected