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

Method inner_delitem

crates/vm/src/builtins/dict.rs:217–223  ·  view source on GitHub ↗
(
        &self,
        key: &K,
        vm: &VirtualMachine,
    )

Source from the content-addressed store, hash-verified

215 }
216
217 pub(crate) fn inner_delitem<K: DictKey + ?Sized>(
218 &self,
219 key: &K,
220 vm: &VirtualMachine,
221 ) -> PyResult<()> {
222 self.entries.delete(vm, key)
223 }
224
225 pub fn get_or_insert(
226 &self,

Callers 2

__delitem__Method · 0.80
del_itemMethod · 0.80

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected