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

Method _make_cancelled_error

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

Source from the content-addressed store, hash-verified

495
496 #[pymethod]
497 fn _make_cancelled_error(&self, vm: &VirtualMachine) -> PyBaseExceptionRef {
498 self.make_cancelled_error_impl(vm)
499 }
500
501 fn make_cancelled_error_impl(&self, vm: &VirtualMachine) -> PyBaseExceptionRef {
502 // If a saved CancelledError exists, take it (clearing the stored reference)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected