File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ Release notes
11
11
Unreleased
12
12
----------
13
13
14
+ Maintenance
15
+ ~~~~~~~~~~~
16
+
17
+ * Change occurrence of io.open() into open().
18
+ By :user: `Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> ` :issue: `1421 `.
19
+
14
20
.. _release_2.15.0 :
15
21
16
22
2.15.0
Original file line number Diff line number Diff line change 1
1
"""Convenience functions for storing and loading data."""
2
- import io
3
2
import itertools
4
3
import os
5
4
import re
@@ -485,7 +484,7 @@ def __init__(self, log):
485
484
elif callable (log ):
486
485
self .log_func = log
487
486
elif isinstance (log , str ):
488
- self .log_file = io . open (log , mode = 'w' )
487
+ self .log_file = open (log , mode = 'w' )
489
488
self .needs_closing = True
490
489
elif hasattr (log , 'write' ):
491
490
self .log_file = log
You can’t perform that action at this time.
0 commit comments