

def _check_for_pending(self, *args, **kwargs):
    '\n        Checks if a notification is pending.\n        '
    if (self._notification_pending and (not self._processing)):
        self._processing = True
        (args, kwargs) = self._data
        self._notify(*args, **kwargs)
        self._notification_pending = False
        self._processing = False

dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/pyqode/core/modes/filewatcher.py FileWatcherMode._check_for_pending/original