diff --git a/fs/base.py b/fs/base.py index c9c4835c..7186ad0a 100644 --- a/fs/base.py +++ b/fs/base.py @@ -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