Helpviewer/History/HistoryFilterModel.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3034
7ce719013078
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
35 35
36 @param other reference to the object to check against (HistoryData) 36 @param other reference to the object to check against (HistoryData)
37 @return flag indicating equality (boolean) 37 @return flag indicating equality (boolean)
38 """ 38 """
39 return self.tailOffset == other.tailOffset and \ 39 return self.tailOffset == other.tailOffset and \
40 (self.frequency == -1 or other.frequency == -1 or \ 40 (self.frequency == -1 or other.frequency == -1 or
41 self.frequency == other.frequency) 41 self.frequency == other.frequency)
42 42
43 def __lt__(self, other): 43 def __lt__(self, other):
44 """ 44 """
45 Special method determining less relation. 45 Special method determining less relation.

eric ide

mercurial