All the operations on a read-only sequence.
Concrete subclasses must override newor init, getitem, and len.
Methods
count
count
(
value
)
S.count(value) -> integer -- return number of occurrences of value
index
index
(
value
,
start
=
0
,
stop
=
None
)
S.index(value, [start, [stop]]) -> integer -- return first index of value. Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.
__contains__
__contains__
(
value
)
__getitem__
__getitem__
(
index
)
__iter__
__iter__
()
__len__
__len__
()


