pymel.util.MutableSequence — PyMEL 1.0.7 documentation

pymel.util.MutableSequence

Inheritance diagram of MutableSequence

class MutableSequence

All the operations on a read-only sequence.

Concrete subclasses must provide __new__ or __init__, __getitem__, __setitem__, __delitem__, __len__, and insert().

append(value)

S.append(object) – append object to the end of the sequence

extend(values)

S.extend(iterable) – extend sequence by appending elements from the iterable

insert(index, value)

S.insert(index, object) – insert object before index

pop([index]) → item -- remove and return item at index (default last).

Raise IndexError if list is empty or index is out of range.

remove(value)

S.remove(value) – remove first occurrence of value. Raise ValueError if the value is not present.

reverse()

S.reverse() – reverse IN PLACE

Previous topic

pymel.util.MutableMapping

Next topic

pymel.util.MutableSet

Core Modules

Type Modules

Other Modules

This Page