#15789: merge with 3.2.
This commit is contained in:
commit
a5377cafea
|
@ -307,10 +307,14 @@ default values. The arguments that are most commonly needed are:
|
||||||
:meth:`Popen.communicate` method.
|
:meth:`Popen.communicate` method.
|
||||||
|
|
||||||
If *shell* is ``True``, the specified command will be executed through
|
If *shell* is ``True``, the specified command will be executed through
|
||||||
the shell. This can be useful if you are using Python primarily for the
|
the shell. This can be useful if you are using Python primarily for the
|
||||||
enhanced control flow it offers over most system shells and still want
|
enhanced control flow it offers over most system shells and still want
|
||||||
access to other shell features such as filename wildcards, shell pipes and
|
convenient access to other shell features such as shell pipes, filename
|
||||||
environment variable expansion.
|
wildcards, environment variable expansion, and expansion of ``~`` to a
|
||||||
|
user's home directory. However, note that Python itself offers
|
||||||
|
implementations of many shell-like features (in particular, :mod:`glob`,
|
||||||
|
:mod:`fnmatch`, :func:`os.walk`, :func:`os.path.expandvars`,
|
||||||
|
:func:`os.path.expanduser`, and :mod:`shutil`).
|
||||||
|
|
||||||
.. versionchanged:: 3.3
|
.. versionchanged:: 3.3
|
||||||
When *universal_newlines* is ``True``, the class uses the encoding
|
When *universal_newlines* is ``True``, the class uses the encoding
|
||||||
|
|
Loading…
Reference in New Issue