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

Method call

crates/stdlib/src/_asyncio.rs:2639–2645  ·  view source on GitHub ↗
(zelf: &Py<Self>, _args: Self::Args, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

2637 impl Callable for TaskStepMethWrapper {
2638 type Args = ();
2639 fn call(zelf: &Py<Self>, _args: Self::Args, vm: &VirtualMachine) -> PyResult {
2640 let task = zelf.task.read().clone();
2641 match task {
2642 Some(t) => task_step_impl(&t, None, vm),
2643 None => Ok(vm.ctx.none()),
2644 }
2645 }
2646 }
2647
2648 impl Representable for TaskStepMethWrapper {

Callers 12

module_execFunction · 0.45
py_initMethod · 0.45
set_exceptionMethod · 0.45
get_future_repr_infoFunction · 0.45
get_task_repr_infoFunction · 0.45
throwMethod · 0.45
get_stackMethod · 0.45
print_stackMethod · 0.45
get_event_loopFunction · 0.45
is_coroutineFunction · 0.45
new_invalid_state_errorFunction · 0.45
get_copy_contextFunction · 0.45

Calls 5

task_step_implFunction · 0.85
task_wakeup_implFunction · 0.85
noneMethod · 0.80
cloneMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected