From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12670 invoked by alias); 19 Oct 2009 17:50:28 -0000 Received: (qmail 12662 invoked by uid 22791); 19 Oct 2009 17:50:26 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS 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; Mon, 19 Oct 2009 17:50:22 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9JHoKNI022556; Mon, 19 Oct 2009 13:50:20 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9JHoJjT007705; Mon, 19 Oct 2009 13:50:20 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n9JHoILS029354; Mon, 19 Oct 2009 13:50:19 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 6798F37818E; Mon, 19 Oct 2009 11:50:18 -0600 (MDT) From: Tom Tromey To: Eli Zaretskii Cc: pmuldoon@redhat.com, gdb-patches@sourceware.org Subject: Re: [patch][doc] PR python/10781 References: <4AD82247.3070503@redhat.com> <838wfbixtf.fsf@gnu.org> <8363afi3hf.fsf@gnu.org> <834opzi2bf.fsf@gnu.org> Reply-To: Tom Tromey Date: Mon, 19 Oct 2009 17:50:00 -0000 In-Reply-To: <834opzi2bf.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 16 Oct 2009 21:08:52 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2009-10/txt/msg00433.txt.bz2 >>>>> "Eli" == Eli Zaretskii writes: Eli> Here's the text that I propose to use: Eli> +@defmethod Value cast type Eli> +Return a new instance of @code{gdb.Value} that is the result of Eli> +casting this instance to the type described by @var{type}, Eli> +which must be a @code{gdb.Type} object. If the cast cannot be Eli> +performed for some reason, this method throws an exception. Eli> +@end defmethod Looks good to me. Tom