Skip to content

Commit 1f2cc7c

Browse files
miss-islingtonsth
andauthored
closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH-20403)
(cherry picked from commit 4a0ac42) Co-authored-by: sth <[email protected]>
1 parent 331b2df commit 1f2cc7c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Doc/library/asyncio-subprocess.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@ Creating Subprocesses
9595
See the documentation of :meth:`loop.subprocess_shell` for other
9696
parameters.
9797

98-
.. important::
99-
100-
It is the application's responsibility to ensure that all whitespace and
101-
special characters are quoted appropriately to avoid `shell injection
102-
<https://en.wikipedia.org/wiki/Shell_injection#Shell_injection>`_
103-
vulnerabilities. The :func:`shlex.quote` function can be used to properly
104-
escape whitespace and special shell characters in strings that are going
105-
to be used to construct shell commands.
98+
.. important::
99+
100+
It is the application's responsibility to ensure that all whitespace and
101+
special characters are quoted appropriately to avoid `shell injection
102+
<https://en.wikipedia.org/wiki/Shell_injection#Shell_injection>`_
103+
vulnerabilities. The :func:`shlex.quote` function can be used to properly
104+
escape whitespace and special shell characters in strings that are going
105+
to be used to construct shell commands.
106106

107107
.. deprecated-removed:: 3.8 3.10
108108

0 commit comments

Comments
 (0)