os docs: fix typo (GH-28996)

https://github.com/python/cpython/commit/8d9a75b206d40b096d9a8f9bcc40d95b768... commit: 8d9a75b206d40b096d9a8f9bcc40d95b7687d6eb branch: 3.10 author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> committer: miss-islington <31488909+miss-islington@users.noreply.github.com> date: 2022-04-02T15:00:12-07:00 summary: os docs: fix typo (GH-28996) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> (cherry picked from commit 1f80dcd2442f2a354097797fedc077592984903b) Co-authored-by: Vitor Buxbaum Orlandi <vitorbuxbaum@gmail.com> files: M Doc/library/os.rst diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 2a1ea05c5c833..203995c80fd32 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -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
participants (1)
-
miss-islington