From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 26 Dec 2021 11:52:46 +0000 (-0800) Subject: Fix typo in io.rst (GH-30218) X-Git-Tag: v3.10.2~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a55082085cbc59733ecc932cc2e7d544be8c6a7d;p=thirdparty%2FPython%2Fcpython.git Fix typo in io.rst (GH-30218) (cherry picked from commit f9a4352056175d96195d4cb54c97c1334ea5150c) Co-authored-by: David Gilbertson --- 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 `.