TypedList

class openpnm.utils.TypedList(iterable=[], types=[])[source]

A list that enforces all elements have the same type.

The allowed type or types are set during

Attributes
types