@@ -86,17 +86,14 @@ def atomic_writing(path, text=True, encoding='utf-8', log=None, **kwargs):
86
86
Parameters
87
87
----------
88
88
path : str
89
- The target file to write to.
90
-
89
+ The target file to write to.
91
90
text : bool, optional
92
- Whether to open the file in text mode (i.e. to write unicode). Default is
93
- True.
94
-
91
+ Whether to open the file in text mode (i.e. to write unicode). Default is
92
+ True.
95
93
encoding : str, optional
96
- The encoding to use for files opened in text mode. Default is UTF-8.
97
-
94
+ The encoding to use for files opened in text mode. Default is UTF-8.
98
95
**kwargs
99
- Passed to :func:`io.open`.
96
+ Passed to :func:`io.open`.
100
97
"""
101
98
# realpath doesn't work on Windows: https://bugs.python.org/issue9949
102
99
# Luckily, we only need to resolve the file itself being a symlink, not
@@ -142,17 +139,14 @@ def _simple_writing(path, text=True, encoding='utf-8', log=None, **kwargs):
142
139
Parameters
143
140
----------
144
141
path : str
145
- The target file to write to.
146
-
142
+ The target file to write to.
147
143
text : bool, optional
148
- Whether to open the file in text mode (i.e. to write unicode). Default is
149
- True.
150
-
144
+ Whether to open the file in text mode (i.e. to write unicode). Default is
145
+ True.
151
146
encoding : str, optional
152
- The encoding to use for files opened in text mode. Default is UTF-8.
153
-
147
+ The encoding to use for files opened in text mode. Default is UTF-8.
154
148
**kwargs
155
- Passed to :func:`io.open`.
149
+ Passed to :func:`io.open`.
156
150
"""
157
151
# realpath doesn't work on Windows: https://bugs.python.org/issue9949
158
152
# Luckily, we only need to resolve the file itself being a symlink, not
0 commit comments