def load(self):
        """
        Return the current content of the file parsed with the loader.

        If the file has not been loaded or has changed since the last call
        to load(), it will be reloaded, otherwise the cached content will
        be returned.
        """
        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