From: Vitor Buxbaum Orlandi Date: Sat, 2 Apr 2022 21:38:33 +0000 (-0300) Subject: os docs: fix typo (GH-28996) X-Git-Tag: v3.11.0a7~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f80dcd2442f2a354097797fedc077592984903b;p=thirdparty%2FPython%2Fcpython.git os docs: fix typo (GH-28996) Co-authored-by: Jacob Walls --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 05e0303614ed..60eac2f78572 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