]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
os docs: fix typo (GH-28996)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 2 Apr 2022 22:00:12 +0000 (15:00 -0700)
committerGitHub <noreply@github.com>
Sat, 2 Apr 2022 22:00:12 +0000 (15:00 -0700)
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
(cherry picked from commit 1f80dcd2442f2a354097797fedc077592984903b)

Co-authored-by: Vitor Buxbaum Orlandi <vitorbuxbaum@gmail.com>
Doc/library/os.rst

index 2a1ea05c5c833383d9b3e6dbe76b30fc27fc2168..203995c80fd327d0e9dc5e6eee9c542daa405b57 100644 (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