parameters: (self)
docstring: Flush buffered output.
docstring_summary: Flush buffered output.
docstring_tokens: Flush buffered output .
function: def flush(self) -> None:
          """
          Flush buffered output.
          """
          with self._lock:
              self._flush()
function_tokens: def flush ( self ) -> None : with self . _lock : self . _flush ( )