From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 119CE385841A; Tue, 30 Aug 2022 17:54:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 119CE385841A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1661882097; bh=zp9ERws183PJ4IDv6TF9yIUwhf6Wcv16sEAi9pUqkAM=; h=From:To:Subject:Date:From; b=AKfuODSVVnTjx515VsO8WQz0Grz/pHCTXu8u1s/YsQRtVEqBNBRpwF5m/EkJQNpb8 vvSDcBJfF7Xf4ej6tI5m4BUxBQAoTiq2fUyXqhK91TB+Q/YprH1grPBpZX9oR+F49a 89jRIDg01MM4HOMzd3z2IDYOf1pI6ZYMx+WhDtr4= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Fix gdb.flush documentation X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 37833b966576c5d25e797ea3b6c33d0459a71892 X-Git-Newrev: dd083c6524f1e90dae19ed895b3f5eaf6228de68 Message-Id: <20220830175457.119CE385841A@sourceware.org> Date: Tue, 30 Aug 2022 17:54:57 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Ddd083c6524f1= e90dae19ed895b3f5eaf6228de68 commit dd083c6524f1e90dae19ed895b3f5eaf6228de68 Author: Tom Tromey Date: Mon Aug 15 12:44:53 2022 -0600 Fix gdb.flush documentation =20 The gdb.flush documentation does not mention the 'stream' argument in the function signature, only in the description. This patch fixes the oversight. Diff: --- 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 =20 @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