From d78df2f3a75dc6d08005fa66950c0eb88ec1b5c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Mon, 18 Nov 2024 12:07:51 +0000 Subject: [PATCH] Typo in pep-0540.rst ? It's unclear what sys.output is. --- peps/pep-0540.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0540.rst b/peps/pep-0540.rst index 9fa45f5d1fd..25217f4ae71 100644 --- a/peps/pep-0540.rst +++ b/peps/pep-0540.rst @@ -259,7 +259,7 @@ The "Legacy Windows FS encoding" is enabled by the ``PYTHONLEGACYWINDOWSFSENCODING`` environment variable. If stdin and/or stdout is redirected to a pipe, ``sys.stdin`` and/or -``sys.output`` uses ``mbcs`` encoding by default rather than UTF-8. +``sys.stdout`` uses ``mbcs`` encoding by default rather than UTF-8. But in UTF-8 Mode, ``sys.stdin`` and ``sys.stdout`` always use the UTF-8 encoding.