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

Method repr_str

crates/vm/src/builtins/coroutine.rs:143–145  ·  view source on GitHub ↗
(zelf: &Py<Self>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

141impl Representable for PyCoroutine {
142 #[inline]
143 fn repr_str(zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<String> {
144 Ok(zelf.inner.repr(zelf.as_object(), zelf.get_id(), vm))
145 }
146}
147
148impl SelfIter for PyCoroutine {}

Callers

nothing calls this directly

Calls 3

reprMethod · 0.45
as_objectMethod · 0.45
get_idMethod · 0.45

Tested by

no test coverage detected