obspy.core.util.misc.CaptureIO.flush

CaptureIO.flush()