Commit abb0965
committed
Do not import multiple modules on one line
It is preferable [1] to import one module per line:
import os
import sys
import time
Rather than importing them all on one line:
import os, sys, time
Having imports listed one per line makes changes much more obvious, and
generally makes it easier to understand what the code is doing.
[1]: https://peps.python.org/pep-0008/#imports1 parent 519a713 commit abb0965
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
0 commit comments