[python][rfc] Add "prototype" to docstrings of Frame-related functions and methods.
Tom Tromey
tromey@redhat.com
Mon Mar 2 16:13:00 GMT 2009
>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> 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.
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.
Tom
More information about the Archer
mailing list