From: David Gilbertson Date: Sun, 26 Dec 2021 11:11:08 +0000 (+1100) Subject: Fix typo in io.rst (GH-30218) X-Git-Tag: v3.11.0a4~139 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9a4352056175d96195d4cb54c97c1334ea5150c;p=thirdparty%2FPython%2Fcpython.git Fix typo in io.rst (GH-30218) --- diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 0881015c7fad..de88c572f366 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -131,7 +131,7 @@ explicitly when opening text files. If you want to use UTF-8, pass ``encoding="utf-8"``. To use the current locale encoding, ``encoding="locale"`` is supported in Python 3.10. -When you need to run existing code on Windows that attempts to opens +When you need to run existing code on Windows that attempts to open UTF-8 files using the default locale encoding, you can enable the UTF-8 mode. See :ref:`UTF-8 mode on Windows `.