Helpviewer/ClosedTabsManager.py

changeset 2954
bf0215fe12d1
parent 2302
f29e9405c851
child 2999
28c75409a78f
equal deleted inserted replaced
2953:703452a2876f 2954:bf0215fe12d1
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

eric ide

mercurial