From: Tom Tromey Date: Mon, 15 Aug 2022 18:44:53 +0000 (-0600) Subject: Fix gdb.flush documentation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd083c6524f1e90dae19ed895b3f5eaf6228de68;p=binutils-gdb.git Fix gdb.flush documentation The gdb.flush documentation does not mention the 'stream' argument in the function signature, only in the description. This patch fixes the oversight. --- diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 9a823409854..7aa9e853d85 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -511,7 +511,7 @@ relevant stream. @end defun @findex gdb.flush -@defun gdb.flush () +@defun gdb.flush (@r{[}, stream@r{]}) Flush the buffer of a @value{GDBN} paginated stream so that the contents are displayed immediately. @value{GDBN} will flush the contents of a stream automatically when it encounters a newline in the