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

Method _result

crates/stdlib/src/_asyncio.rs:641–646  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

639
640 #[pygetset]
641 fn _result(&self, vm: &VirtualMachine) -> PyObjectRef {
642 self.fut_result
643 .read()
644 .clone()
645 .unwrap_or_else(|| vm.ctx.none())
646 }
647
648 #[pygetset]
649 fn _exception(&self, vm: &VirtualMachine) -> PyObjectRef {

Callers

nothing calls this directly

Calls 3

noneMethod · 0.80
cloneMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected