os docs: fix typo (GH-28996)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
This commit is contained in:
Vitor Buxbaum Orlandi 2022-04-02 18:38:33 -03:00 committed by GitHub
parent ea56845744
commit 1f80dcd244
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,7 @@ of the UTF-8 encoding:
:ref:`error handler <error-handlers>` being enabled for :data:`sys.stdin`
and :data:`sys.stdout` (:data:`sys.stderr` continues to use
``backslashreplace`` as it does in the default locale-aware mode)
* On Unix, :func:`os.device_encoding` returns ``'UTF-8'``. rather than the
* On Unix, :func:`os.device_encoding` returns ``'UTF-8'`` rather than the
device encoding.
Note that the standard stream settings in UTF-8 mode can be overridden by