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

Method key_is

crates/vm/src/dict_inner.rs:856–858  ·  view source on GitHub ↗
(&self, other: &PyObject)

Source from the content-addressed store, hash-verified

854
855 #[inline(always)]
856 fn key_is(&self, other: &PyObject) -> bool {
857 self.is(other)
858 }
859
860 #[inline(always)]
861 fn key_eq(&self, vm: &VirtualMachine, other_key: &PyObject) -> PyResult<bool> {

Callers 2

get_hintMethod · 0.80
lookupMethod · 0.80

Calls 4

isMethod · 0.80
as_pystrMethod · 0.80
as_strMethod · 0.45
as_sliceMethod · 0.45

Tested by

no test coverage detected