Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e25df59

Browse files
committed
merge
2 parents 82c6b45 + 74b2404 commit e25df59

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

Doc/library/subprocess.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,9 @@ default values. The arguments that are most commonly needed are:
300300

301301
.. note::
302302

303-
The *universal_newlines* feature is supported only if Python is built
304-
with universal newline support (the default). Also, the newlines
305-
attribute of the file objects :attr:`Popen.stdin`, :attr:`Popen.stdout`
306-
and :attr:`Popen.stderr` are not updated by the
307-
:meth:`Popen.communicate` method.
303+
The newlines attribute of the file objects :attr:`Popen.stdin`,
304+
:attr:`Popen.stdout` and :attr:`Popen.stderr` are not updated by
305+
the :meth:`Popen.communicate` method.
308306

309307
If *shell* is ``True``, the specified command will be executed through
310308
the shell. This can be useful if you are using Python primarily for the

Lib/subprocess.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,9 @@ class Popen(args, bufsize=0, executable=None,
108108
opened as a text files, but lines may be terminated by any of '\n',
109109
the Unix end-of-line convention, '\r', the old Macintosh convention or
110110
'\r\n', the Windows convention. All of these external representations
111-
are seen as '\n' by the Python program. Note: This feature is only
112-
available if Python is built with universal newline support (the
113-
default). Also, the newlines attribute of the file objects stdout,
114-
stdin and stderr are not updated by the communicate() method.
111+
are seen as '\n' by the Python program. Also, the newlines attribute
112+
of the file objects stdout, stdin and stderr are not updated by the
113+
communicate() method.
115114
116115
The startupinfo and creationflags, if given, will be passed to the
117116
underlying CreateProcess() function. They can specify things such as

0 commit comments

Comments
 (0)