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

Method remove

crates/stdlib/src/array.rs:755–757  ·  view source on GitHub ↗
(zelf: &Py<Self>, x: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

753
754 #[pymethod]
755 fn remove(zelf: &Py<Self>, x: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> {
756 zelf.try_resizable(vm)?.remove(x, vm)
757 }
758
759 #[pymethod]
760 fn extend(zelf: &Py<Self>, obj: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> {

Callers 4

remove_fdFunction · 0.45
unregister_dialectFunction · 0.45
remove_tls12_sessionMethod · 0.45

Calls 1

try_resizableMethod · 0.80

Tested by

no test coverage detected