summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Buxbaum Orlandi <vitorbuxbaum@gmail.com>2022-04-02 21:38:33 (GMT)
committerGitHub <noreply@github.com>2022-04-02 21:38:33 (GMT)
commit1f80dcd2442f2a354097797fedc077592984903b (patch)
treea87c8b88f7f09acc81e8e4f165697b1929c53b2e
parentea56845744e815ed468dfbdd835110254c3be997 (diff)
downloadcpython-1f80dcd2442f2a354097797fedc077592984903b.zip
cpython-1f80dcd2442f2a354097797fedc077592984903b.tar.gz
cpython-1f80dcd2442f2a354097797fedc077592984903b.tar.bz2
os docs: fix typo (GH-28996)
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
-rw-r--r--Doc/library/os.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 05e0303..60eac2f 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