This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [python] Make gdb.search_memory accept keyword arguments.
- From: Tom Tromey <tromey at redhat dot com>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: archer ml <archer at sourceware dot org>
- Date: Thu, 26 Feb 2009 12:06:26 -0700
- Subject: Re: [python] Make gdb.search_memory accept keyword arguments.
- References: <1235610848.27609.11.camel@localhost.localdomain>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
Thiago> For functions which take more than one optional argument, I enabled
Thiago> keyword syntax which provides a way to specify some optional arguments
Thiago> while skipping others. For instance, you can say:
Thiago> gdb.some_function ('foo', bar = 1, baz = 2)
The memory searching stuff needs documentation. I intend to be a nag
about this from now on :-)
And if you add keywords to other modules, please make sure to update
the corresponding docs.
Tom