MCPcopy Create free account
hub / github.com/RustPython/RustPython / iter

Method iter

crates/vm/src/stdlib/_collections.rs:555–557  ·  view source on GitHub ↗
(zelf: PyRef<Self>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

553
554 impl Iterable for PyDeque {
555 fn iter(zelf: PyRef<Self>, vm: &VirtualMachine) -> PyResult {
556 Ok(PyDequeIterator::new(zelf).into_pyobject(vm))
557 }
558 }
559
560 impl Representable for PyDeque {

Callers 4

reverseMethod · 0.45
_mulMethod · 0.45
cmpMethod · 0.45
reprMethod · 0.45

Calls 2

newFunction · 0.85
into_pyobjectMethod · 0.45

Tested by

no test coverage detected