]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH...
authorsth <sth.dev@tejp.de>
Tue, 26 May 2020 04:08:40 +0000 (06:08 +0200)
committerGitHub <noreply@github.com>
Tue, 26 May 2020 04:08:40 +0000 (23:08 -0500)
Doc/library/asyncio-subprocess.rst

index 1d87d2f8005ec6554fd276aa4bfe14a9d2c7202a..eb1312a949a10a784518d1fdb37a3149032ae71b 100644 (file)
@@ -95,14 +95,14 @@ Creating Subprocesses
    See the documentation of :meth:`loop.subprocess_shell` for other
    parameters.
 
-.. 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.
+   .. 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.
 
    .. deprecated-removed:: 3.8 3.10