Fix typo in io.rst (GH-30218)

This commit is contained in:
David Gilbertson 2021-12-26 22:11:08 +11:00 committed by GitHub
parent 10bf0a9ac3
commit f9a4352056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 <win-utf8-mode>`.