Changes between Version 13 and Version 14 of CodingStandards


Ignore:
Timestamp:
2011-08-14T02:28:36Z (13 years ago)
Author:
zooko
Comment:

add formatting convention suggested by David-Sarah on #393

Legend:

Unmodified
Added
Removed
Modified
  • CodingStandards

    v13 v14  
    3535
    3636 * Put two blank lines between classes.
     37 * Put one blank line before a block comment if the preceding line is code at the same indent level (this makes it harder to mistake the code as part of the comment, and makes the comment easier to read).
    3738 * Feel free to ignore the part of PEP-8 that says to put each module import on a separate line, but don't import modules from multiple separate packages on the same line.
    3839 * Ignore the part of PEP-257 which says to put the trailing {{{"""}}} of a multi-line docstring on a separate line separated by a blank line.  (That rule appears to have been motivated by a limitation of Emacs which has been fixed.)