Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_with
Method · 0.80
Calls
2
clone
Method · 0.45
read
Method · 0.45
Tested by
no test coverage detected