Commit c6920d4
committed
Use io.open() instead of open() for consistency
Recommended in the Python docs (https://docs.python.org/3/howto/pyporting.html#text-versus-binary-data):
"(...) You should also use io.open() for opening files instead of
the built-in open() function as the io module is consistent
from Python 2 to 3 while the built-in open() function is not
(in Python 3 it’s actually io.open())."1 parent 4192573 commit c6920d4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments