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

Method set_winerror

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

Source from the content-addressed store, hash-verified

2164 #[cfg(windows)]
2165 #[pygetset(setter)]
2166 fn set_winerror(&self, value: Option<PyObjectRef>, vm: &VirtualMachine) {
2167 self.winerror.swap_to_temporary_refs(value, vm);
2168 }
2169
2170 #[pygetset]
2171 fn characters_written(&self, vm: &VirtualMachine) -> PyResult<isize> {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected