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

Method __len__

crates/vm/src/builtins/dict.rs:296–298  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

294 }
295
296 pub fn __len__(&self) -> usize {
297 self.entries.len()
298 }
299
300 #[pymethod]
301 fn __sizeof__(&self) -> usize {

Callers 4

inner_cmpMethod · 0.45
__len__Method · 0.45
to_setMethod · 0.45
object_getstate_defaultFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected