def _inotify_add_watch(self, fd, pathname, mask):
        try:
            wd = inotify_syscalls.inotify_add_watch(fd, pathname, mask)
        except __HOLE__, err:
            self._last_errno = err.errno
            return -1
        return wd
dataset/ETHPy150Open seb-m/pyinotify/python2/pyinotify.py/_INotifySyscallsWrapper._inotify_add_watch