From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 2 Apr 2022 22:00:12 +0000 (-0700) Subject: os docs: fix typo (GH-28996) X-Git-Tag: v3.10.5~213 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d9a75b206d40b096d9a8f9bcc40d95b7687d6eb;p=thirdparty%2FPython%2Fcpython.git os docs: fix typo (GH-28996) Co-authored-by: Jacob Walls (cherry picked from commit 1f80dcd2442f2a354097797fedc077592984903b) Co-authored-by: Vitor Buxbaum Orlandi --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 2a1ea05c5c83..203995c80fd3 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -113,7 +113,7 @@ of the UTF-8 encoding: :ref:`error handler ` 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