From 99d439afcfa67b9f6738ca021edc8f6b382776bc Mon Sep 17 00:00:00 2001 From: R David Murray Date: Wed, 15 Aug 2012 11:12:15 -0400 Subject: #15543: additional link in subprocess docs. Patch by Chris Jerdonek. --- Doc/library/subprocess.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) `. 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'``. -- cgit v0.12