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

Method len

crates/vm/src/builtins/tuple.rs:299–301  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

297
298 #[inline]
299 pub fn len(&self) -> usize {
300 self.elements.len()
301 }
302
303 #[inline]
304 pub fn is_empty(&self) -> bool {

Callers 15

slot_defs.rsFile · 0.45
struct_sequence_newFunction · 0.45
__replace__Method · 0.45
extend_pyclassMethod · 0.45
from_byte_vectorMethod · 0.45
ndimMethod · 0.45
into_pybufferMethod · 0.45
abstract_issubclassMethod · 0.45
get_single_attrMethod · 0.45
py_newMethod · 0.45
callMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected