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: [python] acessing struct elements


On Wed, 2008-08-13 at 08:37 -0400, Daniel Jacobowitz wrote:
> It took me a while to find it, but I knew there was an operator for
> this.  Take a look at __nonzero__:
> 
>   http://docs.python.org/ref/customization.html

Thanks for the tip! I'll try it out.
-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center


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