Differences between revisions 3 and 4
Revision 3 as of 2013-08-23 16:53:37
Size: 556
Editor: TomTromey
Comment: more formatting fixes
Revision 4 as of 2018-11-23 18:20:23
Size: 555
Editor: SimonMarchi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
In addition, the guidelines in the [[http://google-styleguide.googlecode.com/svn/trunk/pyguide.html|Google Python Style Guide]] are also followed where they do not conflict with PEP008. In addition, the guidelines in the [[https://github.com/google/styleguide/blob/gh-pages/pyguide.md|Google Python Style Guide]] are also followed where they do not conflict with PEP008.

GDB Python Coding Standards

GDB follows the published Python coding standards in PEP008.

In addition, the guidelines in the Google Python Style Guide are also followed where they do not conflict with PEP008.

GDB-specific exceptions

There are a few exceptions to the published standards. They exist mainly for consistency with the C standards.

  • Use FIXME instead of TODO.

None: Internals GDB-Python-Coding-Standards (last edited 2022-03-18 15:53:24 by SimonMarchi)

All content (C) 2008 Free Software Foundation. For terms of use, redistribution, and modification, please see the WikiLicense page.