D | rangelib.py | 36 def __eq__(self, other): argument 37 return self.data == other.data 38 def __ne__(self, other): argument 39 return self.data != other.data 114 def union(self, other): argument 120 zip(other.data, itertools.cycle((+1, -1)))): 126 def intersect(self, other): argument 132 zip(other.data, itertools.cycle((+1, -1)))): 138 def subtract(self, other): argument 145 zip(other.data, itertools.cycle((-1, +1)))): [all …]
|