Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 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
Exemplo n.º 3
0
 def __init__(self, values=None):
     # type: (Any) -> None
     self.odict = ordereddict()
     MutableSet.__init__(self)
     if values is not None:
         self |= values  # type: ignore
Exemplo n.º 4
0
 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
Exemplo n.º 6
0
 def __init__(self, values=None):
     # type: (Any) -> None
     self.odict = ordereddict()
     MutableSet.__init__(self)
     if values is not None:
         self |= values  # type: ignore