summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorC.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>2023-04-11 03:57:36 (GMT)
committerGitHub <noreply@github.com>2023-04-11 03:57:36 (GMT)
commit75b6ab80da95f7d731b0d69b8ee8adb095b24d27 (patch)
tree84e19096bd24cf73ff75f0f01ee82e57f16028d0
parentd034590294d4618880375a6db513c30bce3e126b (diff)
downloadcpython-75b6ab80da95f7d731b0d69b8ee8adb095b24d27.zip
cpython-75b6ab80da95f7d731b0d69b8ee8adb095b24d27.tar.gz
cpython-75b6ab80da95f7d731b0d69b8ee8adb095b24d27.tar.bz2
Doc: Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 (#103421)
-rw-r--r--Doc/library/multiprocessing.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 8454296..84e309f 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -452,7 +452,9 @@ process which created it.
importable by the children. This is covered in :ref:`multiprocessing-programming`
however it is worth pointing out here. This means that some examples, such
as the :class:`multiprocessing.pool.Pool` examples will not work in the
- interactive interpreter. For example::
+ interactive interpreter. For example:
+
+ .. code-block:: text
>>> from multiprocessing import Pool
>>> p = Pool(5)