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

Function builtins_iter

crates/vm/src/builtins/iter.rs:156–158  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

154}
155
156pub fn builtins_iter(vm: &VirtualMachine) -> PyObjectRef {
157 vm.builtins.get_attr("iter", vm).unwrap()
158}
159
160pub fn builtins_reversed(vm: &VirtualMachine) -> PyObjectRef {
161 vm.builtins.get_attr("reversed", vm).unwrap()

Callers 10

__reduce__Method · 0.85
__reduce__Method · 0.85
__reduce__Method · 0.85
range_iter_reduceFunction · 0.85
__reduce__Method · 0.85
__reduce__Method · 0.85
__reduce__Method · 0.85
__reduce__Method · 0.85
__reduce__Method · 0.85
__reduce__Method · 0.85

Calls 2

unwrapMethod · 0.45
get_attrMethod · 0.45

Tested by

no test coverage detected