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

Method iter

crates/vm/src/types/slot.rs:2086–2088  ·  view source on GitHub ↗
(_zelf: PyRef<Self>, _vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

2084
2085 #[cold]
2086 fn iter(_zelf: PyRef<Self>, _vm: &VirtualMachine) -> PyResult {
2087 unreachable!("slot_iter is implemented");
2088 }
2089
2090 fn extend_slots(slots: &mut PyTypeSlots) {
2091 let prev = slots.iter.swap(Some(self_iter));

Callers 11

inherit_from_mroMethod · 0.45
find_slot_defs_by_nameFunction · 0.45
slot_reprMethod · 0.45
__replace__Method · 0.45
extend_pyclassMethod · 0.45
struct_sequence_iterFunction · 0.45
struct_sequence_hashFunction · 0.45
update_subclassesMethod · 0.45
update_one_slotMethod · 0.45
lookup_slot_in_mroMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected