Changes between Version 9 and Version 10 of DevNotes/DevGuide/CodingRules
- Timestamp:
- May 30, 2016 7:30:55 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevNotes/DevGuide/CodingRules
v9 v10 70 70 71 71 * Import only one module per line: 72 {{{ 73 #!div style="font-size: 80%" 74 {{{#!python 75 import sascalc 76 import sasmodels 77 }}} 78 }}} 79 80 not 81 82 {{{ 83 #!div style="font-size: 80%" 84 {{{#!python 85 import sasmodels, sascalc 86 }}} 87 }}} 72 {{{ 73 #!div style="font-size: 80%" 74 {{{#!python 75 import sascalc 76 import sasmodels 77 }}} 78 }}} 79 not 80 {{{ 81 #!div style="font-size: 80%" 82 {{{#!python 83 import sasmodels, sascalc 84 }}} 85 }}} 88 86 * It is OK to import multiple classes and/or methods from the same module on the same line: 89 87 from sasmodels import barbell, cylinder