Skip to content

Commit edce92d

Browse files
authored
Fix typo in docstring of FS.writetext (#374)
2 parents 3e02968 + 24e74e0 commit edce92d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,7 @@ def writetext(
14091409
path (str): Destination path on the filesystem.
14101410
contents (str): Text to be written.
14111411
encoding (str, optional): Encoding of destination file
1412-
(defaults to ``'ut-8'``).
1412+
(defaults to ``'utf-8'``).
14131413
errors (str, optional): How encoding errors should be treated
14141414
(same as `io.open`).
14151415
newline (str): Newline parameter (same as `io.open`).

0 commit comments

Comments
 (0)