Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Siva Chandra <sivachandra@google.com>
To: gdb-patches <gdb-patches@sourceware.org>
Subject: [pushed/obv] DOC: Add space before the opening parenthesis in function descriptions
Date: Mon, 09 Jun 2014 14:23:00 -0000	[thread overview]
Message-ID: <CAGyQ6gzcNyfSftYdPL6065WChG5V7bFg=znYDH+0F4DhGrj79g@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

doc/
2014-06-09  Siva Chandra Reddy  <sivachandra@google.com>

        * python.texi (Xmethod API): Add space before the opening
        parenthesis in function descriptions.

[-- Attachment #2: obv_fix_xmethod_doc.txt --]
[-- Type: text/plain, Size: 2535 bytes --]

diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 2f1b71f..4688783 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -2270,7 +2270,7 @@ disabled.
 The class @code{XMethod} is a convenience class with same
 attributes as above along with the following constructor:
 
-@defun XMethod.__init__(self, name)
+@defun XMethod.__init__ (self, name)
 Constructs an enabled xmethod with name @var{name}.
 @end defun
 @end defvar
@@ -2278,12 +2278,12 @@ Constructs an enabled xmethod with name @var{name}.
 @noindent
 The @code{XMethodMatcher} class has the following methods:
 
-@defun XMethodMatcher.__init__(self, name)
+@defun XMethodMatcher.__init__ (self, name)
 Constructs an enabled xmethod matcher with name @var{name}.  The
 @code{methods} attribute is initialized to @code{None}.
 @end defun
 
-@defun XMethodMatcher.match(self, class_type, method_name)
+@defun XMethodMatcher.match (self, class_type, method_name)
 Derived classes should override this method.  It should return a
 xmethod worker object (or a sequence of xmethod worker
 objects) matching the @var{class_type} and @var{method_name}.
@@ -2298,7 +2298,7 @@ An xmethod worker should be an instance of a class derived from
 @code{XMethodWorker} defined in the module @code{gdb.xmethod},
 or support the following interface:
 
-@defun XMethodWorker.get_arg_types(self)
+@defun XMethodWorker.get_arg_types (self)
 This method returns a sequence of @code{gdb.Type} objects corresponding
 to the arguments that the xmethod takes.  It can return an empty
 sequence or @code{None} if the xmethod does not take any arguments.
@@ -2306,7 +2306,7 @@ If the xmethod takes a single argument, then a single
 @code{gdb.Type} object corresponding to it can be returned.
 @end defun
 
-@defun XMethodWorker.__call__(self, *args)
+@defun XMethodWorker.__call__ (self, *args)
 This is the method which does the @emph{work} of the xmethod.  The
 @var{args} arguments is the tuple of arguments to the xmethod.  Each
 element in this tuple is a gdb.Value object.  The first element is
@@ -2317,7 +2317,7 @@ For @value{GDBN} to lookup xmethods, the xmethod matchers
 should be registered using the following function defined in the module
 @code{gdb.xmethod}:
 
-@defun register_xmethod_matcher(locus, matcher, replace=False)
+@defun register_xmethod_matcher (locus, matcher, replace=False)
 The @code{matcher} is registered with @code{locus}, replacing an
 existing matcher with the same name as @code{matcher} if
 @code{replace} is @code{True}.  @code{locus} can be a

             reply	other threads:[~2014-06-09 14:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-09 14:23 Siva Chandra [this message]
2014-06-09 14:48 ` Eli Zaretskii
2014-06-09 15:15 ` Joel Brobecker
2014-06-09 16:16   ` Eli Zaretskii

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='CAGyQ6gzcNyfSftYdPL6065WChG5V7bFg=znYDH+0F4DhGrj79g@mail.gmail.com' \
    --to=sivachandra@google.com \
    --cc=gdb-patches@sourceware.org \
    /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