def __init__(self, iterable=None): MutableSet.__init__(self) self.end = end = [] end += [None, end, end] # sentinel node for doubly linked list self.map = WeakKeyDictionary() # key --> [key, prev, next] if iterable is not None: self |= iterable
def __init__(self, iterable=None): MutableSet.__init__(self) self.end = end = [] end += [None, end, end] # sentinel node for doubly linked list self.map = WeakKeyDictionary() # key --> [key, prev, next] if iterable is not None: self |= iterable
def __init__(self, values=None): # type: (Any) -> None self.odict = ordereddict() MutableSet.__init__(self) if values is not None: self |= values # type: ignore
def __init__(self, values=None): self.odict = ordereddict() MutableSet.__init__(self) if values is not None: self |= values
def __init__(self, values=None): self.odict = ordereddict() MutableSet.__init__(self) if values is not None: self |= values
def __init__(self, values=None): # type: (Any) -> None self.odict = ordereddict() MutableSet.__init__(self) if values is not None: self |= values # type: ignore