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

Method __delitem__

crates/vm/src/builtins/bytearray.rs:254–256  ·  view source on GitHub ↗
(&self, needle: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

252 }
253
254 pub fn __delitem__(&self, needle: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> {
255 self._delitem(&needle, vm)
256 }
257
258 #[pystaticmethod]
259 fn maketrans(from: PyBytesInner, to: PyBytesInner, vm: &VirtualMachine) -> PyResult<Vec<u8>> {

Callers 1

test_delitemFunction · 0.45

Calls 1

_delitemMethod · 0.45

Tested by 1

test_delitemFunction · 0.36