Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __cause__
Method
__cause__
crates/vm/src/exceptions.rs:633–635 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
631
632
#[pygetset]
633
pub fn __cause__(&self) -> Option<PyRef<Self>> {
634
self.cause.read().clone()
635
}
636
637
#[pygetset(setter)]
638
pub fn set___cause__(&self, cause: Option<PyRef<Self>>) {
Callers
3
write_exception_recursive
Method · 0.80
serialize
Method · 0.80
derive_and_copy_attributes
Function · 0.80
Calls
2
clone
Method · 0.45
read
Method · 0.45
Tested by
no test coverage detected