summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-05-26 04:15:52 (GMT)
committerGitHub <noreply@github.com>2020-05-26 04:15:52 (GMT)
commit1f2cc7cedee1a768ee43151c115f6e338751eb8c (patch)
tree01335e188ed25fbe2d4d68d7bdb2fbc57ac80724 /Doc/library
parent331b2dfadb2a5dd990145c043d006166e568af7b (diff)
downloadcpython-1f2cc7cedee1a768ee43151c115f6e338751eb8c.zip
cpython-1f2cc7cedee1a768ee43151c115f6e338751eb8c.tar.gz
cpython-1f2cc7cedee1a768ee43151c115f6e338751eb8c.tar.bz2
closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH-20403)
(cherry picked from commit 4a0ac42c52a4d9ccfb0a78ab02aa03172ce0e31a) Co-authored-by: sth <sth.dev@tejp.de>
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/asyncio-subprocess.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/asyncio-subprocess.rst b/Doc/library/asyncio-subprocess.rst
index 1d87d2f..eb1312a 100644
--- a/Doc/library/asyncio-subprocess.rst
+++ b/Doc/library/asyncio-subprocess.rst
@@ -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