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

Method keys

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

Source from the content-addressed store, hash-verified

150
151 #[pymethod]
152 pub fn keys(&self, vm: &VirtualMachine) -> PyResult {
153 let obj = self.to_object(vm)?;
154 vm.call_method(&obj, identifier!(vm, keys).as_str(), ())
155 }
156
157 #[pymethod]
158 pub fn values(&self, vm: &VirtualMachine) -> PyResult {

Callers 3

elementsMethod · 0.45
__reduce__Method · 0.45
init_slotsMethod · 0.45

Calls 3

to_objectMethod · 0.45
call_methodMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected