def parser(self): """ get the parser lazy """ if self._parser is None: self._parser = cache.load_module(self.path, self.name) \ or self._load_module() return self._parser
def load_stored_item(cache, path, item): """Load `item` stored at `path` in `cache`.""" return cache.load_module(path, item.change_time - 1)