Use power of LazyInitialise to replace CallbackMixin.__init__()

This commit is contained in:
Kristóf Tóth
2018-06-01 14:21:32 +02:00
parent cebacb15e6
commit 6f3db18146
3 changed files with 5 additions and 4 deletions

View File

@ -36,7 +36,6 @@ class HistoryMonitor(CallbackMixin, ObserverMixin, ABC):
See examples below.
"""
def __init__(self, histfile):
CallbackMixin.__init__(self)
self.histfile = histfile
self._history = []
self._last_length = len(self._history)