[Python-checkins] cpython: #15543: additional link in subprocess docs.

r.david.murray python-checkins at python.org
Wed Aug 15 17:23:59 CEST 2012


http://hg.python.org/cpython/rev/37df50bc4ea0
changeset:   78594:37df50bc4ea0
user:        R David Murray <rdmurray at bitdance.com>
date:        Wed Aug 15 11:12:15 2012 -0400
summary:
  #15543: additional link in subprocess docs.

Patch by Chris Jerdonek.

files:
  Doc/library/subprocess.rst |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -290,7 +290,8 @@
 
    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'``.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list