MCPcopy 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

serializeMethod · 0.80

Calls 2

cloneMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected