def deleted(self, name):
    if self._phyref is not None:
      if name in self._phyref:
        del self._phyref[name]

      if self._symref in name:
        del self._symref[name]

      if name in self._mtime:
        del self._mtime[name]
dataset/ETHPy150Open esrlabs/git-repo/git_refs.py/GitRefs.deleted/swapped operands of `in`