diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/sys.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index e87b7e1..e5d1781 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -711,9 +711,9 @@ always available. .. note:: - The standard streams are text in text mode by default. To write or read - binary data to these, use the underlying binary buffer. For example, to - write bytes to :data:`stdout`, use ``sys.stdout.buffer.write(b'abc')``. + The standard streams are in text mode by default. To write or read binary + data to these, use the underlying binary buffer. For example, to write + bytes to :data:`stdout`, use ``sys.stdout.buffer.write(b'abc')``. .. data:: __stdin__ |