]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
os docs: fix typo (GH-28996)
authorVitor Buxbaum Orlandi <vitorbuxbaum@gmail.com>
Sat, 2 Apr 2022 21:38:33 +0000 (18:38 -0300)
committerGitHub <noreply@github.com>
Sat, 2 Apr 2022 21:38:33 +0000 (14:38 -0700)
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Doc/library/os.rst

index 05e0303614ed1e96893e8d46eaae9dd7002280a9..60eac2f78572ed12d4152482b83798acecc499b9 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