From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4620 invoked by alias); 9 Jun 2014 15:15:11 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 4607 invoked by uid 89); 9 Jun 2014 15:15:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 09 Jun 2014 15:15:09 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 753741161D6; Mon, 9 Jun 2014 11:15:07 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CsTKL0bce29m; Mon, 9 Jun 2014 11:15:07 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 49F72116104; Mon, 9 Jun 2014 11:15:07 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 27A7E40E79; Mon, 9 Jun 2014 17:15:06 +0200 (CEST) Date: Mon, 09 Jun 2014 15:15:00 -0000 From: Joel Brobecker To: Siva Chandra Cc: gdb-patches Subject: Re: [pushed/obv] DOC: Add space before the opening parenthesis in function descriptions Message-ID: <20140609151506.GB5032@adacore.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-06/txt/msg00383.txt.bz2 > 2014-06-09 Siva Chandra Reddy > > * python.texi (Xmethod API): Add space before the opening > parenthesis in function descriptions. > 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) Should we NOT put a space there? The recommendation for Python code is to not have spaces before parens (see PEP8). -- Joel