def close(self):
        if self.closed:
            return
        self._closed = True
        if self.mode in WRITE_MODES:
            backend.SaveFile(self.name, self._data)
close() -> None or (perhaps) an integer.  Close the file.
dataset/ETHPy150Open mockfs/mockfs/mockfs/storage.py/file.close