D | rangelib.py | 41 def __eq__(self, other): argument 42 return self.data == other.data 44 def __ne__(self, other): argument 45 return self.data != other.data 129 def union(self, other): argument 141 zip(other.data, itertools.cycle((+1, -1)))): 147 def intersect(self, other): argument 159 zip(other.data, itertools.cycle((+1, -1)))): 165 def subtract(self, other): argument 178 zip(other.data, itertools.cycle((-1, +1)))): [all …]
|