Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion fs/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,8 @@ def settext(self,
"""Create or replace a file with text.

Arguments:
contents (str): A path on the filesystem.
path (str): Destination path on the filesystem.
contents (str): Text to be written.
encoding (str, optional): Encoding of destination file
(defaults to ``'ut-8'``).
errors (str, optional): How encoding errors should be treated
Expand Down