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

Method len

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

Source from the content-addressed store, hash-verified

845}
846impl ExactSizeIterator for DictIntoIter {
847 fn len(&self) -> usize {
848 self.dict.entries.len_from_entry_index(self.position)
849 }
850}
851
852pub struct DictIter<'a> {

Callers 4

freelist_pushMethod · 0.45
is_emptyMethod · 0.45
__len__Method · 0.45
size_hintMethod · 0.45

Calls 1

len_from_entry_indexMethod · 0.80

Tested by

no test coverage detected