From f2ec664bcd46212abeec24761afaadf132a40f7b Mon Sep 17 00:00:00 2001 From: Bart Broere Date: Sat, 24 Dec 2022 21:17:39 +0100 Subject: [PATCH] [Minor PR] Quotes in documentation changed into code blocks (GH-99536) Minor formatting fix in documentation (cherry picked from commit efccd04b9efc1752a845b377399d2068b06d04e7) Co-authored-by: Bart Broere Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> --- Doc/library/subprocess.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 14414ea7f81ea3..e4e38e933681b2 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -1567,6 +1567,8 @@ If you ever encounter a presumed highly unusual situation where you need to prevent ``vfork()`` from being used by Python, you can set the :attr:`subprocess._USE_VFORK` attribute to a false value. +:: + subprocess._USE_VFORK = False # See CPython issue gh-NNNNNN. Setting this has no impact on use of ``posix_spawn()`` which could use @@ -1574,6 +1576,8 @@ Setting this has no impact on use of ``posix_spawn()`` which could use :attr:`subprocess._USE_POSIX_SPAWN` attribute if you need to prevent use of that. +:: + subprocess._USE_POSIX_SPAWN = False # See CPython issue gh-NNNNNN. It is safe to set these to false on any Python version. They will have no