File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -245,10 +245,14 @@ default values. The arguments that are most commonly needed are:
245245 :meth: `Popen.communicate ` method.
246246
247247 If *shell * is ``True ``, the specified command will be executed through
248- the shell. This can be useful if you are using Python primarily for the
248+ the shell. This can be useful if you are using Python primarily for the
249249 enhanced control flow it offers over most system shells and still want
250- access to other shell features such as filename wildcards, shell pipes and
251- environment variable expansion.
250+ convenient access to other shell features such as shell pipes, filename
251+ wildcards, environment variable expansion, and expansion of ``~ `` to a
252+ user's home directory. However, note that Python itself offers
253+ implementations of many shell-like features (in particular, :mod: `glob `,
254+ :mod: `fnmatch `, :func: `os.walk `, :func: `os.path.expandvars `,
255+ :func: `os.path.expanduser `, and :mod: `shutil `).
252256
253257 .. warning ::
254258
You can’t perform that action at this time.
0 commit comments