closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH-20403)

(cherry picked from commit 4a0ac42c52)

Co-authored-by: sth <sth.dev@tejp.de>
This commit is contained in:
Miss Islington (bot) 2020-05-25 21:15:52 -07:00 committed by GitHub
parent 331b2dfadb
commit 1f2cc7cede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -95,14 +95,14 @@ Creating Subprocesses
See the documentation of :meth:`loop.subprocess_shell` for other
parameters.
.. important::
.. important::
It is the application's responsibility to ensure that all whitespace and
special characters are quoted appropriately to avoid `shell injection
<https://en.wikipedia.org/wiki/Shell_injection#Shell_injection>`_
vulnerabilities. The :func:`shlex.quote` function can be used to properly
escape whitespace and special shell characters in strings that are going
to be used to construct shell commands.
It is the application's responsibility to ensure that all whitespace and
special characters are quoted appropriately to avoid `shell injection
<https://en.wikipedia.org/wiki/Shell_injection#Shell_injection>`_
vulnerabilities. The :func:`shlex.quote` function can be used to properly
escape whitespace and special shell characters in strings that are going
to be used to construct shell commands.
.. deprecated-removed:: 3.8 3.10