From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1549 invoked by alias); 16 Oct 2009 19:09:33 -0000 Received: (qmail 1541 invoked by uid 22791); 16 Oct 2009 19:09:33 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Oct 2009 19:09:28 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0KRM00K00FBA7Y00@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Fri, 16 Oct 2009 21:09:25 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.70.117.47]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KRM00HC9FVO1T80@a-mtaout21.012.net.il>; Fri, 16 Oct 2009 21:09:25 +0200 (IST) Date: Fri, 16 Oct 2009 19:09:00 -0000 From: Eli Zaretskii Subject: Re: [patch][doc] PR python/10781 In-reply-to: To: Tom Tromey Cc: pmuldoon@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <834opzi2bf.fsf@gnu.org> References: <4AD82247.3070503@redhat.com> <838wfbixtf.fsf@gnu.org> <8363afi3hf.fsf@gnu.org> 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: 2009-10/txt/msg00372.txt.bz2 Here's the text that I propose to use: +@defmethod Value cast type +Return a new instance of @code{gdb.Value} that is the result of +casting this instance to the type described by @var{type}, +which must be a @code{gdb.Type} object. If the cast cannot be +performed for some reason, this method throws an exception. +@end defmethod