summaryrefslogtreecommitdiffstats
path: root/Doc/library/io.rst
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-08-13 19:11:14 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-08-13 19:11:14 (GMT)
commit4805fa862ed1041e84c01f3293b73f50d3055693 (patch)
treed671d73c88398dce10ec6362b6b9724302ccf488 /Doc/library/io.rst
parentac23c9ea7f3c86bef03755a775cc058219260e9e (diff)
parent50be452e0fcc33195ce7d93bb808ca4be9654bd6 (diff)
downloadcpython-4805fa862ed1041e84c01f3293b73f50d3055693.zip
cpython-4805fa862ed1041e84c01f3293b73f50d3055693.tar.gz
cpython-4805fa862ed1041e84c01f3293b73f50d3055693.tar.bz2
Issue #15561: Update subprocess docs to reference io.TextIOWrapper.
Patch by Chris Jerdonek.
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r--Doc/library/io.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index 2a3c5d8..5fec4cd 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -754,7 +754,8 @@ Text I/O
It inherits :class:`TextIOBase`.
*encoding* gives the name of the encoding that the stream will be decoded or
- encoded with. It defaults to ``locale.getpreferredencoding(False)``.
+ encoded with. It defaults to
+ :func:`locale.getpreferredencoding(False) <locale.getpreferredencoding>`.
*errors* is an optional string that specifies how encoding and decoding
errors are to be handled. Pass ``'strict'`` to raise a :exc:`ValueError`