From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 26 May 2020 04:15:52 +0000 (-0700) Subject: closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH... X-Git-Tag: v3.8.4rc1~93 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f2cc7cedee1a768ee43151c115f6e338751eb8c;p=thirdparty%2FPython%2Fcpython.git closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH-20403) (cherry picked from commit 4a0ac42c52a4d9ccfb0a78ab02aa03172ce0e31a) Co-authored-by: sth --- diff --git a/Doc/library/asyncio-subprocess.rst b/Doc/library/asyncio-subprocess.rst index 1d87d2f8005e..eb1312a949a1 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 - `_ - 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 + `_ + 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