Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_cmp
Method · 0.45
__len__
Method · 0.45
to_set
Method · 0.45
object_getstate_default
Function · 0.45
Calls
1
len
Method · 0.45
Tested by
no test coverage detected