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

Method __reversed__

crates/vm/src/builtins/mappingproxy.rs:186–192  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

184
185 #[pymethod]
186 fn __reversed__(&self, vm: &VirtualMachine) -> PyResult {
187 vm.call_method(
188 self.to_object(vm)?.as_object(),
189 identifier!(vm, __reversed__).as_str(),
190 (),
191 )
192 }
193
194 fn __ior__(&self, _args: PyObjectRef, vm: &VirtualMachine) -> PyResult {
195 Err(vm.new_type_error(format!(

Callers

nothing calls this directly

Calls 4

call_methodMethod · 0.45
as_objectMethod · 0.45
to_objectMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected