Changes between Version 6 and Version 7 of CodingStandards


Ignore:
Timestamp:
2009-11-21T04:12:53Z (15 years ago)
Author:
zooko
Comment:

edit

Legend:

Unmodified
Added
Removed
Modified
  • CodingStandards

    v6 v7  
    1919{{{
    2020# Copyright (c) 2009 Allmydata, Inc.
    21 __copyright__ = "Copyright (c) 2009 Allmydata, Inc."
     21# This file is part of Tahoe-LAFS; see doc/about.html for licensing terms.
    2222
    2323"""
     
    2727# import Python Standard Library modules here
    2828
    29 from amdlib.util.assertutil import _assert, precondition, postcondition
     29from allmydata.util.assertutil import _assert, precondition, postcondition
    3030
    3131# import from other libraries, with a blank line between each library
     
    3333# your code here
    3434}}}
    35 
    36  * Files should begin with a copyright notice then a docstring about that module.
    3735
    3836=== truths and falsehoods ===
     
    180178== official Python standards ==
    181179
    182 These are listed in decreasing order of priority, so if a point in one of the latter guidelines contradicts a point in one of the earlier ones, then go with the earlier. The Allmydata-specific guidelines above override all else, of course.
     180These are listed in decreasing order of priority, so if a point in one of the latter guidelines contradicts a point in one of the earlier ones, then go with the earlier. The Tahoe-LAFS-specific guidelines above override all else, of course.
    183181
    184182=== PEP 290 ===