eric6/WebBrowser/ClosedTabsManager.py

changeset 7271
2cac5b7abcce
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7270:41d09cf20415 7271:2cac5b7abcce
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 @return flag indicating equality of the tabs (boolean)
36 """ 36 """
37 return self.url == other.url and \ 37 return (
38 self.title == other.title and \ 38 self.url == other.url and
39 self.title == other.title and
39 self.position == other.position 40 self.position == other.position
41 )
40 42
41 43
42 class ClosedTabsManager(QObject): 44 class ClosedTabsManager(QObject):
43 """ 45 """
44 Class implementing a manager for closed tabs. 46 Class implementing a manager for closed tabs.

eric ide

mercurial