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

Method count

crates/stdlib/src/array.rs:750–752  ·  view source on GitHub ↗
(&self, x: PyObjectRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

748
749 #[pymethod]
750 fn count(&self, x: PyObjectRef, vm: &VirtualMachine) -> usize {
751 self.read().count(x, vm)
752 }
753
754 #[pymethod]
755 fn remove(zelf: &Py<Self>, x: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> {

Callers 3

parser_createFunction · 0.45
emit_next_tokenFunction · 0.45
scanstringFunction · 0.45

Calls 1

readMethod · 0.45

Tested by

no test coverage detected