class documentation

class OrderedSet(Set[_T]): (source)

View In Hierarchy

Undocumented

Method __add__ Undocumented
Method __and__ Undocumented
Method __getitem__ Undocumented
Method __iand__ Undocumented
Method __init__ Undocumented
Method __ior__ Undocumented
Method __isub__ Undocumented
Method __iter__ Undocumented
Method __ixor__ Undocumented
Method __or__ Undocumented
Method __reduce__ Undocumented
Method __repr__ Undocumented
Method __sub__ Undocumented
Method __xor__ Undocumented
Method add Undocumented
Method clear Undocumented
Method difference Undocumented
Method difference_update Undocumented
Method discard Undocumented
Method insert Undocumented
Method intersection Undocumented
Method intersection_update Undocumented
Method remove Undocumented
Method symmetric_difference Undocumented
Method symmetric_difference_update Undocumented
Method union Undocumented
Method update Undocumented
Class Variable __slots__ Undocumented
Instance Variable _list Undocumented
def __add__(self, other: Iterator[_T]) -> OrderedSet[_T]: (source)

Undocumented

def __and__(self, other: AbstractSet[object]) -> OrderedSet[_T]: (source)

Undocumented

def __getitem__(self, key: int) -> _T: (source)

Undocumented

def __iand__(self, other: AbstractSet[object]) -> OrderedSet[_T]: (source)

Undocumented

def __init__(self, d: Optional[Iterable[_T]] = None): (source)

Undocumented

def __ior__(self, other: AbstractSet[_S]) -> OrderedSet[Union[_T, _S]]: (source)

Undocumented

def __isub__(self, other: AbstractSet[Optional[_T]]) -> OrderedSet[_T]: (source)

Undocumented

def __iter__(self) -> Iterator[_T]: (source)

Undocumented

def __ixor__(self, other: AbstractSet[_S]) -> OrderedSet[Union[_T, _S]]: (source)

Undocumented

def __or__(self, other: AbstractSet[_S]) -> OrderedSet[Union[_T, _S]]: (source)

Undocumented

def __reduce__(self): (source)

Undocumented

def __repr__(self) -> str: (source)

Undocumented

def __sub__(self, other: AbstractSet[Optional[_T]]) -> OrderedSet[_T]: (source)

Undocumented

def __xor__(self, other: AbstractSet[_S]) -> OrderedSet[Union[_T, _S]]: (source)

Undocumented

def add(self, element: _T): (source)

Undocumented

def clear(self): (source)

Undocumented

def difference(self, *other: Iterable[Any]) -> OrderedSet[_T]: (source)

Undocumented

def difference_update(self, *other: Iterable[Any]): (source)

Undocumented

def discard(self, element: _T): (source)

Undocumented

def insert(self, pos: int, element: _T): (source)

Undocumented

def intersection(self, *other: Iterable[Any]) -> OrderedSet[_T]: (source)

Undocumented

def intersection_update(self, *other: Iterable[Any]): (source)

Undocumented

def remove(self, element: _T): (source)

Undocumented

def symmetric_difference(self, other: Iterable[_T]) -> OrderedSet[_T]: (source)

Undocumented

def symmetric_difference_update(self, other: Iterable[Any]): (source)

Undocumented

def union(self, *other: Iterable[_S]) -> OrderedSet[Union[_T, _S]]: (source)

Undocumented

def update(self, *iterables: Iterable[_T]): (source)

Undocumented

__slots__: tuple[str, ...] = (source)

Undocumented

Undocumented