

def load(self):
    '\n        Return the current content of the file parsed with the loader.\n\n        If the file has not been loaded or has changed since the last call\n        to load(), it will be reloaded, otherwise the cached content will\n        be returned.\n        '
    current_mtime = os.path.getmtime(self.path)
    if ((not self._mtime) or (self._mtime < current_mtime)):
        self._cached = self.loader(open(self.path))
        self._mtime = current_mtime
    return self._cached

dataset/ETHPy150Open hypothesis/h/h/assets.py _CachedFile.load/original