Changes between Version 14 and Version 15 of PythonGuidelines
- Timestamp:
- Apr 3, 2010, 6:53:45 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PythonGuidelines
v14 v15 49 49 import sys 50 50 }}} 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). 52 52 53 53 == Upgrading from Python 2.3 or Python 2.4 ==