From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23401 invoked by alias); 16 Mar 2011 20:03:03 -0000 Received: (qmail 23368 invoked by uid 22791); 16 Mar 2011 20:03:02 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Mar 2011 20:02:58 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p2GK2t1g013792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 16 Mar 2011 16:02:55 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p2GK2rR7016718; Wed, 16 Mar 2011 16:02:54 -0400 From: Phil Muldoon To: Paul Koning Cc: Eli Zaretskii , Subject: Re: [python] [patch] Add is_valid to several classes References: <83r5a6q39z.fsf@gnu.org> <335A57D4-8F8C-4D2D-A909-334C02E9475B@dell.com> Reply-to: pmuldoon@redhat.com X-URL: http://www.redhat.com Date: Wed, 16 Mar 2011 20:06:00 -0000 In-Reply-To: <335A57D4-8F8C-4D2D-A909-334C02E9475B@dell.com> (Paul Koning's message of "Wed, 16 Mar 2011 15:26:08 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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 X-SW-Source: 2011-03/txt/msg00876.txt.bz2 Paul Koning writes: > On Mar 16, 2011, at 3:22 PM, Eli Zaretskii wrote: > >>> From: Phil Muldoon >>> Date: Wed, 16 Mar 2011 16:02:44 +0000 >>> ... >> >>> +@defmethod Inferior is_valid >>> +Returns true if the @code{gdb.Inferior} object is valid, false if >> ^^^^ ^^^^^ >> You mean @code{true} and @code{false}, right? These are Python >> symbols, aren't they? > > Actually, the Python symbols are @code{True} and @code{False} (first letter uppercase). It would make sense to write it that way whenever the Python bool values are referenced. Thanks to you both for catching this, and to Paul for noting the Python notation. Cheers Phil