diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 9738c5c2ad274d..966fb9cc766384 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -924,7 +924,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