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

Method set___context__

crates/vm/src/exceptions.rs:650–652  ·  view source on GitHub ↗
(&self, context: Option<PyRef<Self>>)

Source from the content-addressed store, hash-verified

648
649 #[pygetset(setter)]
650 pub fn set___context__(&self, context: Option<PyRef<Self>>) {
651 *self.context.write() = context;
652 }
653
654 #[pygetset]
655 pub(super) fn __suppress_context__(&self) -> bool {

Callers 4

set_exceptionMethod · 0.80
exception_chainFunction · 0.80
closeMethod · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected