Tee.flush

giant.utilities.tee:

Tee.flush()[source]

This method flushes all data by calling both the file flush method and stdout or stderr’s flush method depending on what was selected at initialization for the redirect parameter.

Raises:

ValueError – If close method was called prior to this call

Return type:

None