Skip to content

Commit a159185

Browse files
PEP 540: Correct sys.output to sys.stdout (#4122)
1 parent d15e866 commit a159185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peps/pep-0540.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ The "Legacy Windows FS encoding" is enabled by the
259259
``PYTHONLEGACYWINDOWSFSENCODING`` environment variable.
260260

261261
If stdin and/or stdout is redirected to a pipe, ``sys.stdin`` and/or
262-
``sys.output`` uses ``mbcs`` encoding by default rather than UTF-8.
262+
``sys.stdout`` uses ``mbcs`` encoding by default rather than UTF-8.
263263
But in UTF-8 Mode, ``sys.stdin`` and ``sys.stdout`` always use the UTF-8
264264
encoding.
265265

0 commit comments

Comments
 (0)