예제 #1
0
 def __eq__(self, other):
     return tuple_equal(expand(self.fs), expand(other.fs))
예제 #2
0
 def __eq__(self, other):
     return self[0] == other[0] and \
            tuple_equal(expand(self.fs), expand(other.fs))
예제 #3
0
 def __eq__(self, other):
     return self[0] == other[0] and tuple_equal(expand(self.shifts),
                                                expand(other.shifts))