io.IOBase.flush

IOBase.flush()

Flush write buffers, if applicable.

This is not implemented for read-only and non-blocking streams.