'Removes a watch for the given path.
:param path:
Path string for which the watch will be removed.'

def remove_watch(self, path):

    with self._lock:
        wd = self._wd_for_path.pop(path)
        del self._path_for_wd[wd]
        if (inotify_rm_watch(self._inotify_fd, wd) == (-1)):
            Inotify._raise_error()
