def subscribe(self, evt_type, subscriber):
        if evt_type not in self._subscribers:
            self._subscribers[evt_type] = set()
        self._subscribers[evt_type].add(subscriber)
dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/Setting.py/SettingEventSource.subscribe/original