parameters: (self)
docstring: Flush both channels.
docstring_summary: Flush both channels.
docstring_tokens: Flush both channels .
function: def flush(self):
          """Flush both channels."""
          self.file.flush()
          self.ostream.flush()
function_tokens: def flush ( self ) : self . file . flush ( ) self . ostream . flush ( )