This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC - Python Scripting] New method gdb.Architecture.disassemble


On Feb 19, 2013, at 12:36 AM, Siva Chandra wrote:

> On Sat, Feb 16, 2013 at 12:47 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>>> ...
> 
>>>                           For all of these cases, the elements of the
>>> +returned list are a Python @code{dict}
>> 
>> Does it make sense in Python to talk about a list that is a 'dict'?
>> IOW, is a 'dict' a special case of a list in Python?  My reading of
>> http://docs.python.org/2/library/stdtypes.html is that it is not.
> 
> I am not saying that the list is a dict, but that the elements of the
> list are dicts. Should it be worded in another fashion?

How about "each element of the returned list is a Python dict" ?

	paul



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]