From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3513 invoked by alias); 8 Oct 2010 22:21:24 -0000 Received: (qmail 3434 invoked by uid 22791); 8 Oct 2010 22:21:23 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.35) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Oct 2010 22:21:19 +0000 Received: from kpbe15.cbf.corp.google.com (kpbe15.cbf.corp.google.com [172.25.105.79]) by smtp-out.google.com with ESMTP id o98MLGaI021410 for ; Fri, 8 Oct 2010 15:21:16 -0700 Received: from vws15 (vws15.prod.google.com [10.241.21.143]) by kpbe15.cbf.corp.google.com with ESMTP id o98MKn4j002852 for ; Fri, 8 Oct 2010 15:21:14 -0700 Received: by vws15 with SMTP id 15so561182vws.26 for ; Fri, 08 Oct 2010 15:21:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.199.66 with SMTP id er2mr878534vcb.185.1286576473802; Fri, 08 Oct 2010 15:21:13 -0700 (PDT) Received: by 10.220.118.2 with HTTP; Fri, 8 Oct 2010 15:21:13 -0700 (PDT) In-Reply-To: References: <20101006204434.DCD842461B2@ruffy.mtv.corp.google.com> <83vd5fnicu.fsf@gnu.org> Date: Fri, 08 Oct 2010 22:21:00 -0000 Message-ID: Subject: Re: [RFA] New python module gdb.types From: Doug Evans To: Eli Zaretskii Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true 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: 2010-10/txt/msg00166.txt.bz2 On Fri, Oct 8, 2010 at 3:18 PM, Doug Evans wrote: >>> +@item make_enum_dict (@var{enum_type}) >>> +Return a dictionary made from @var{enum_type}. >> >> Same here: at the very least we should say what is a "dictionary" in >> this context. > > The context is python and in the python context "dictionary" is quite > specific, it's a builtin type. > > What if it said the following instead? > > Return a python dictionary made from @var{enum_type}. Or rather Return a Python dictionary made from @var{enum_type}.