[Python-checkins] os docs: fix typo (GH-28996)
miss-islington
webhook-mailer at python.org
Sat Apr 2 18:00:16 EDT 2022
https://github.com/python/cpython/commit/8d9a75b206d40b096d9a8f9bcc40d95b7687d6eb
commit: 8d9a75b206d40b096d9a8f9bcc40d95b7687d6eb
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at 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 at gmail.com>
(cherry picked from commit 1f80dcd2442f2a354097797fedc077592984903b)
Co-authored-by: Vitor Buxbaum Orlandi <vitorbuxbaum at 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
More information about the Python-checkins
mailing list