D | rangelib.py | 39 def __eq__(self, other): argument 40 return self.data == other.data 41 def __ne__(self, other): argument 42 return self.data != other.data 121 def union(self, other): argument 133 zip(other.data, itertools.cycle((+1, -1)))): 139 def intersect(self, other): argument 151 zip(other.data, itertools.cycle((+1, -1)))): 157 def subtract(self, other): argument 170 zip(other.data, itertools.cycle((-1, +1)))): [all …]
|