[3.9] closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH-20403) (#20407)

(cherry picked from commit 4a0ac42)

Co-authored-by: sth <sth.dev@tejp.de>
This commit is contained in:
Benjamin Peterson 2020-05-25 23:19:42 -05:00 committed by GitHub
parent 791a46ed58
commit b03e0ee226
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 See the documentation of :meth:`loop.subprocess_shell` for other
parameters. parameters.
.. important:: .. important::
It is the application's responsibility to ensure that all whitespace and It is the application's responsibility to ensure that all whitespace and
special characters are quoted appropriately to avoid `shell injection special characters are quoted appropriately to avoid `shell injection
<https://en.wikipedia.org/wiki/Shell_injection#Shell_injection>`_ <https://en.wikipedia.org/wiki/Shell_injection#Shell_injection>`_
vulnerabilities. The :func:`shlex.quote` function can be used to properly vulnerabilities. The :func:`shlex.quote` function can be used to properly
escape whitespace and special shell characters in strings that are going escape whitespace and special shell characters in strings that are going
to be used to construct shell commands. to be used to construct shell commands.
.. deprecated-removed:: 3.8 3.10 .. deprecated-removed:: 3.8 3.10