Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sourceware.org
Cc: Simon Marchi <simon.marchi@efficios.com>
Subject: Re: [PATCH] Small fix to gdb.Value constructor doc
Date: Tue, 05 Mar 2019 18:52:00 -0000	[thread overview]
Message-ID: <20190305115158.13376d15@f29-4.lan> (raw)
In-Reply-To: <20190305170544.23216-1-simon.marchi@efficios.com>

On Tue,  5 Mar 2019 12:05:44 -0500
Simon Marchi <simon.marchi@efficios.com> wrote:

> The synopsis of the two-parameters form of the gdb.Value constructor is
> currently shown as
> 
>     Value.__init__ (val, [, type ])
> 
> in the documentation.
> 
> First, there is an extra comma, which I think we can remove in any
> case.
> 
> Then, since the type parameter is not optional, I would not put in
> between square brackets.  Those usually indicate that something is
> optional.
> 
> With this patch, it appears as:
> 
>     Value.__init__ (val, type)

I agree with your changes.  Thanks for fixing this!

Kevin


  reply	other threads:[~2019-03-05 18:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-05 17:06 Simon Marchi
2019-03-05 18:52 ` Kevin Buettner [this message]
     [not found] ` <83sgw1cjt3.fsf@gnu.org>
2019-03-05 19:02   ` Simon Marchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190305115158.13376d15@f29-4.lan \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=simon.marchi@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox