Remove WebHistory.__getitem__
This commit is contained in:
parent
d3dd6d2f77
commit
e9e6da6510
@ -164,9 +164,6 @@ class WebHistory(QObject):
|
||||
def __repr__(self):
|
||||
return utils.get_repr(self, length=len(self))
|
||||
|
||||
def __getitem__(self, key):
|
||||
return self._new_history[key]
|
||||
|
||||
def __iter__(self):
|
||||
return iter(self.history_dict.values())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user