summaryrefslogtreecommitdiffstats
path: root/Doc/library/subprocess.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-08-15 15:12:15 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-08-15 15:12:15 (GMT)
commit99d439afcfa67b9f6738ca021edc8f6b382776bc (patch)
tree2276718d4a7d55d4ae72eb8b6fa6a990c5fa0eb6 /Doc/library/subprocess.rst
parent27bbcfb8ff55ed2c57042bf72eb2ba01ec7e4169 (diff)
downloadcpython-99d439afcfa67b9f6738ca021edc8f6b382776bc.zip
cpython-99d439afcfa67b9f6738ca021edc8f6b382776bc.tar.gz
cpython-99d439afcfa67b9f6738ca021edc8f6b382776bc.tar.bz2
#15543: additional link in subprocess docs.
Patch by Chris Jerdonek.
Diffstat (limited to 'Doc/library/subprocess.rst')
-rw-r--r--Doc/library/subprocess.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index ff6bb99..94a1ecb 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -290,7 +290,8 @@ default values. The arguments that are most commonly needed are:
If *universal_newlines* is ``True``, the file objects *stdin*, *stdout*
and *stderr* will be opened as text streams in :term:`universal newlines`
- mode using the encoding returned by :func:`locale.getpreferredencoding`.
+ mode using the encoding returned by
+ :func:`locale.getpreferredencoding(False) <locale.getpreferredencoding>`.
For *stdin*, line ending characters ``'\n'`` in the input will be converted
to the default line separator :data:`os.linesep`. For *stdout* and
*stderr*, all line endings in the output will be converted to ``'\n'``.