From dd083c6524f1e90dae19ed895b3f5eaf6228de68 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 15 Aug 2022 12:44:53 -0600 Subject: [PATCH] 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. --- gdb/doc/python.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2