[Python-checkins] [Minor PR] Quotes in documentation changed into code blocks (GH-99536)
miss-islington
webhook-mailer at python.org
Sat Dec 24 15:26:16 EST 2022
https://github.com/python/cpython/commit/80013d78e0efa0bbb610408227ead50a4f16588d
commit: 80013d78e0efa0bbb610408227ead50a4f16588d
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-12-24T12:26:11-08:00
summary:
[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 <mail at bartbroere.eu>
Co-authored-by: Shantanu <12621235+hauntsaninja at users.noreply.github.com>
files:
M Doc/library/subprocess.rst
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 14414ea7f81e..e4e38e933681 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
More information about the Python-checkins
mailing list