diff --git a/peps/pep-0540.rst b/peps/pep-0540.rst index 9fa45f5d1..25217f4ae 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.