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

Method iter

crates/stdlib/src/_asyncio.rs:843–848  ·  view source on GitHub ↗
(zelf: PyRef<Self>, _vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

841
842 impl Iterable for PyFuture {
843 fn iter(zelf: PyRef<Self>, _vm: &VirtualMachine) -> PyResult {
844 Ok(PyFutureIter {
845 future: PyRwLock::new(Some(zelf.into())),
846 }
847 .into_pyobject(_vm))
848 }
849 }
850
851 fn get_future_repr_info(future: &PyObject, vm: &VirtualMachine) -> PyResult<Wtf8Buf> {

Callers 4

schedule_callbacksMethod · 0.45
_callbacksMethod · 0.45
get_future_repr_infoFunction · 0.45
get_task_repr_infoFunction · 0.45

Calls 3

newFunction · 0.85
SomeClass · 0.50
into_pyobjectMethod · 0.45

Tested by

no test coverage detected