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

Method iter

crates/vm/src/builtins/dict.rs:584–586  ·  view source on GitHub ↗
(zelf: PyRef<Self>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

582
583impl Iterable for PyDict {
584 fn iter(zelf: PyRef<Self>, vm: &VirtualMachine) -> PyResult {
585 Ok(PyDictKeyIterator::new(zelf).into_pyobject(vm))
586 }
587}
588
589impl Representable for PyDict {

Callers 4

fromkeysMethod · 0.45
__rsub__Method · 0.45
cmpMethod · 0.45
set_inner_number_opFunction · 0.45

Calls 2

newFunction · 0.85
into_pyobjectMethod · 0.45

Tested by

no test coverage detected