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

Method __context__

crates/vm/src/exceptions.rs:645–647  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

643
644 #[pygetset]
645 pub fn __context__(&self) -> Option<PyRef<Self>> {
646 self.context.read().clone()
647 }
648
649 #[pygetset(setter)]
650 pub fn set___context__(&self, context: Option<PyRef<Self>>) {

Callers 4

serializeMethod · 0.80

Calls 2

cloneMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected