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

Method as_coro

crates/vm/src/builtins/coroutine.rs:39–41  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

37)]
38impl PyCoroutine {
39 pub const fn as_coro(&self) -> &Coro {
40 &self.inner
41 }
42
43 pub fn new(frame: FrameRef, name: PyStrRef, qualname: PyStrRef) -> Self {
44 Self {

Callers 2

get_awaitable_iterFunction · 0.45
execute_instructionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected