We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de33f6f commit ec443a8Copy full SHA for ec443a8
atomicwrites/__init__.py
@@ -124,6 +124,9 @@ class AtomicWriter(object):
124
:param overwrite: If set to false, an error is raised if ``path`` exists.
125
Errors are only raised after the file has been written to. Either way,
126
the operation is atomic.
127
+ :param open_kwargs: Keyword-arguments to pass to the underlying :py:func:`open`
128
+ call. This can be used to set the encoding when opening files in
129
+ text-mode.
130
131
If you need further control over the exact behavior, you are encouraged to
132
subclass.
0 commit comments