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

Method _loop

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

Source from the content-addressed store, hash-verified

603
604 #[pygetset]
605 fn _loop(&self, vm: &VirtualMachine) -> PyObjectRef {
606 self.fut_loop
607 .read()
608 .clone()
609 .unwrap_or_else(|| vm.ctx.none())
610 }
611
612 #[pygetset]
613 fn _callbacks(&self, vm: &VirtualMachine) -> PyResult<PyObjectRef> {

Callers

nothing calls this directly

Calls 3

noneMethod · 0.80
cloneMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected