colour.hints.Sequence#

class colour.hints.Sequence#

All the operations on a read-only sequence.

Concrete subclasses must override __new__ or __init__, __getitem__, and __len__.

__init__()#

Methods

__init__()

count(value)

index(value, [start, [stop]])

Raises ValueError if the value is not present.