30 def __eq__(self, other): |
30 def __eq__(self, other): |
31 """ |
31 """ |
32 Special method implementing the equality operator. |
32 Special method implementing the equality operator. |
33 |
33 |
34 @param other reference to the object to compare against (ClosedTab) |
34 @param other reference to the object to compare against (ClosedTab) |
|
35 @return flag indicating equality of the tabs (boolean) |
35 """ |
36 """ |
36 return self.url == other.url and \ |
37 return self.url == other.url and \ |
37 self.title == other.title and \ |
38 self.title == other.title and \ |
38 self.position == other.position |
39 self.position == other.position |
39 |
40 |