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

Method set_strerror

crates/vm/src/exceptions.rs:2134–2136  ·  view source on GitHub ↗
(&self, value: Option<PyObjectRef>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

2132
2133 #[pygetset(setter, name = "strerror")]
2134 fn set_strerror(&self, value: Option<PyObjectRef>, vm: &VirtualMachine) {
2135 self.strerror.swap_to_temporary_refs(value, vm);
2136 }
2137
2138 #[pygetset]
2139 fn filename(&self) -> Option<PyObjectRef> {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected