MCPcopy 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_varsMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected