Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __len__
Method
__len__
crates/stdlib/src/contextvars.rs:197–199 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
195
}
196
197
fn __len__(&self) -> usize {
198
self.borrow_vars().len()
199
}
200
201
#[pymethod]
202
fn get(
Callers
nothing calls this directly
Calls
2
borrow_vars
Method · 0.80
len
Method · 0.45
Tested by
no test coverage detected