diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 2fb27c3aad7..5ae30a3b589 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -945,7 +945,7 @@ Text I/O *errors*, *newline*, *line_buffering* and *write_through*. Parameters not specified keep current settings, except - ``errors='strict`` is used when *encoding* is specified but + ``errors='strict'`` is used when *encoding* is specified but *errors* is not specified. It is not possible to change the encoding or newline if some data