Some more conventions.

This commit is contained in:
sebd 2004-05-23 07:56:49 +00:00
parent 7b1e9fafe5
commit bdd60f7c28
1 changed files with 21 additions and 0 deletions

View File

@ -43,6 +43,27 @@ Files are terminated by *one* CR (0x0a) character; not two. This is the only
place where you MUST pay attention to file size.
Sorting
-------
Imports are sorted alphabetically, with:
* Python standard modules first
* Non standard modules second
* Expression modules last
Classes within one file are sorted alphabetically.
Attributes are placed before methods and sorted alphabetically.
All attributes must be explicitly declared (be it an instance or
a class attribute).
Methods within a class are sorted alphabetically.
Quotes
------
Enclose strings using double quotes, not single quotes.
Disagreement
------------