From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15840 invoked by alias); 16 Mar 2011 19:26:27 -0000 Received: (qmail 15832 invoked by uid 22791); 16 Mar 2011 19:26:26 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ausxippc101.us.dell.com (HELO ausxippc101.us.dell.com) (143.166.85.207) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Mar 2011 19:26:22 +0000 X-Loopcount0: from 10.152.240.141 Subject: Re: [python] [patch] Add is_valid to several classes Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Paul Koning In-Reply-To: <83r5a6q39z.fsf@gnu.org> Date: Wed, 16 Mar 2011 19:59:00 -0000 Cc: , Content-Transfer-Encoding: quoted-printable Message-Id: <335A57D4-8F8C-4D2D-A909-334C02E9475B@dell.com> References: <83r5a6q39z.fsf@gnu.org> To: Eli Zaretskii 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/msg00872.txt.bz2 On Mar 16, 2011, at 3:22 PM, Eli Zaretskii wrote: >> From: Phil Muldoon >> Date: Wed, 16 Mar 2011 16:02:44 +0000 >> ... >=20 >> +@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. paul