]> granicus.if.org Git - python/commitdiff
#15543: additional link in subprocess docs.
authorR David Murray <rdmurray@bitdance.com>
Wed, 15 Aug 2012 15:12:15 +0000 (11:12 -0400)
committerR David Murray <rdmurray@bitdance.com>
Wed, 15 Aug 2012 15:12:15 +0000 (11:12 -0400)
Patch by Chris Jerdonek.

Doc/library/subprocess.rst

index ff6bb9927b9a54a78e4541d67a1927897bf801d9..94a1ecb29666b34401e8f75535ece80b671ca811 100644 (file)
@@ -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'``.