def close(self):

        if self._mode == MODE_WRITE and self._valid is None:
            self._finalize_write()
        result = self._fp.close()
        self._closed = True

        return result
Close the underlying file.
dataset/ETHPy150Open ricmoo/pycoind/pycoind/util/pyscrypt/file.py/ScryptFile.close