Changes between Version 14 and Version 15 of PythonGuidelines


Ignore:
Timestamp:
Apr 3, 2010 6:53:45 PM (14 years ago)
Author:
Chris Jerdonek
Comment:

Added another reason for the from/import ordering suggestion.

Legend:

Unmodified
Added
Removed
Modified
  • PythonGuidelines

    v14 v15  
    4949import sys
    5050}}}
    51  This keeps the ordering the same when changing a `from` statement to an `import` statement, or vice versa.
     51 This keeps the ordering of lines the same when changing a `from` statement to an `import` statement, and vice versa.  This also makes it easer to see if both `from` and `import` statements are used to import from the same package (since the lines will be adjacent).
    5252
    5353== Upgrading from Python 2.3 or Python 2.4 ==