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]

Python coding style [was Re: [RFA] New python module gdb.types]


[note new subject line]

On Wed, Oct 6, 2010 at 2:11 PM, Joel Brobecker <brobecker@adacore.com> wrote:
> The python style is to not have a space before the opening parenthesis.
> [...]
> I think we should try to follow the Python style because it makes it
> easier for Python users to read our code.

Can we, at least as a first pass, adopt this?

http://google-styleguide.googlecode.com/svn/trunk/pyguide.html

Then I don't have to continually switch modes. :-)

[There may be parts that aren't applicable here, but as a first pass,
it's a good start.]


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