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

Method set_errno

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

Source from the content-addressed store, hash-verified

2122
2123 #[pygetset(setter)]
2124 fn set_errno(&self, value: Option<PyObjectRef>, vm: &VirtualMachine) {
2125 self.errno.swap_to_temporary_refs(value, vm);
2126 }
2127
2128 #[pygetset]
2129 fn strerror(&self) -> Option<PyObjectRef> {

Callers 1

polar_with_errno_setMethod · 0.80

Calls 1

Tested by 1

polar_with_errno_setMethod · 0.64