def __call__(self):
        key = self._get_key()
        try:
            return self.registry[key]
        except __HOLE__:
            return self.registry.setdefault(key, self.createfunc())
dataset/ETHPy150Open ralfonso/theory/theory/model/mpdutil.py/ScopedRegistry.__call__