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

Method key_eq

crates/vm/src/dict_inner.rs:861–863  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine, other_key: &PyObject)

Source from the content-addressed store, hash-verified

859
860 #[inline(always)]
861 fn key_eq(&self, vm: &VirtualMachine, other_key: &PyObject) -> PyResult<bool> {
862 vm.identical_or_equal(self, other_key)
863 }
864
865 #[inline]
866 fn key_as_isize(&self, vm: &VirtualMachine) -> PyResult<isize> {

Callers 2

get_hintMethod · 0.80
lookupMethod · 0.80

Calls 15

identical_or_equalMethod · 0.80
isMethod · 0.80
bool_eqMethod · 0.80
as_pystrMethod · 0.80
to_vecMethod · 0.80
as_bigintMethod · 0.80
as_wtf8Method · 0.45
as_objectMethod · 0.45
new_strMethod · 0.45
as_strMethod · 0.45
as_bytesMethod · 0.45
new_bytesMethod · 0.45

Tested by

no test coverage detected