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

Method slot_iter

crates/vm/src/types/slot.rs:2080–2083  ·  view source on GitHub ↗
(zelf: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

2078{
2079 #[cold]
2080 fn slot_iter(zelf: PyObjectRef, vm: &VirtualMachine) -> PyResult {
2081 let repr = zelf.repr(vm)?;
2082 unreachable!("slot must be overridden for {}", repr.as_wtf8());
2083 }
2084
2085 #[cold]
2086 fn iter(_zelf: PyRef<Self>, _vm: &VirtualMachine) -> PyResult {

Callers

nothing calls this directly

Calls 1

reprMethod · 0.45

Tested by

no test coverage detected