This is the mail archive of the
mailing list for the Archer project.
Re: [python][rfc] Add "prototype" to docstrings of Frame-relatedfunctions and methods.
El lun, 02-03-2009 a las 09:13 -0700, Tom Tromey escribiÃ:
> >>>>> "Thiago" == Thiago Jung Bauermann <firstname.lastname@example.org> writes:
> Thiago> A few functions and methods right now have a kind of prototype in the
> Thiago> docstring, which shows what arguments they expect (e.g., Value.string
> Thiago> and gdb.lookup_symbol). I think it would be helpful if all of the Python
> Thiago> API had them as well, so this patch adds them to the frame-related code.
> Thiago> I didn't push this yet. WDYT?
> I think it is a nice idea.
Great. I just pushed the patch.
> Thiago> I suggest moving functions in the gdb module to the section to which
> Thiago> they relate, and keeping in Basic Python only functions which work in
> Thiago> isolation. WDYT?
> Good idea, go for it.
Thiago Jung Bauermann
IBM Linux Technology Center