def _sync_close(f):
    _sync_flush(f)
    f.close()

## Start: classes from the original module (for backward compatibility).

# Note that the Maildir class, whose name is unchanged, itself offers a next()
# method for backward compatibility.
Close file f, ensuring all changes are physically on disk.
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/_sync_close