def _delitem_nosync(self, item): path = self._item_path(item) if contains_array(self._store, path) or \ contains_group(self._store, path): rmdir(self._store, path) else: raise KeyError(item)