From 24e74e01018a70fd9866f27e51300edda9ef633b Mon Sep 17 00:00:00 2001 From: Alex Povel <48824213+alexpovel@users.noreply.github.com> Date: Thu, 20 Feb 2020 13:32:45 +0100 Subject: [PATCH] Adjust docstring to match function A little *f* got lost --- fs/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/base.py b/fs/base.py index a4b7aefb..a6218b93 100644 --- a/fs/base.py +++ b/fs/base.py @@ -1409,7 +1409,7 @@ def writetext( path (str): Destination path on the filesystem. contents (str): Text to be written. encoding (str, optional): Encoding of destination file - (defaults to ``'ut-8'``). + (defaults to ``'utf-8'``). errors (str, optional): How encoding errors should be treated (same as `io.open`). newline (str): Newline parameter (same as `io.open`).