def __init__(self, parts):
        # type: (Iterable[Part]) -> None
        """Construct a PartSet from a part iterable."""
        self._parts = list(parts)
        self._iter = iter(self._parts)
def __init__ ( self , parts ) : self . _parts = list ( parts ) self . _iter = iter ( self . _parts )
Construct a PartSet from a part iterable.