def _clear_cache(self):
        # clear the possibly changed values
        for name in self._cache_attrs:
            try:
                delattr(self, name)
            except __HOLE__:
                pass
            # END try attr deletion
        # END for each name to delete
dataset/ETHPy150Open gitpython-developers/GitPython/git/objects/submodule/base.py/Submodule._clear_cache