MCPcopy Create free account
hub / github.com/python/mypy / length

Method length

mypy/types.py:2814–2815  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2812 )
2813
2814 def length(self) -> int:
2815 return len(self.items)
2816
2817 def accept(self, visitor: TypeVisitor[T]) -> T:
2818 return visitor.visit_tuple_type(self)

Callers 8

can_be_true_defaultMethod · 0.95
can_be_false_defaultMethod · 0.95
min_tuple_lengthMethod · 0.45
join_tuplesMethod · 0.45
adjust_tupleFunction · 0.45
meet_tuplesMethod · 0.45

Calls 1

lenFunction · 0.85

Tested by

no test coverage detected