(EXPERIMENTAL)
a list like sequence of (value, type) used in almost all cssutils classes
behaves almost like a list but keeps extra attribute "type" for
each value in the list
types are tokens types like e.g. "COMMENT" (value='/.../', all uppercase)
or productions like e.g. "universal" (value='*', all lowercase)
|
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature |
source code
|
|
|
|
|
|
|
|
|
|
__setitem__(self,
index,
value_type)
might be set with tuple (value, type) or a single value |
source code
|
|
|
|
__iter__(self)
returns an iterator of values only |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
append(self,
value,
type=None)
same as list.append but not a simple value but a SeqItem is appended |
source code
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__
|