From 921bf61896548becc316667f870984cf4d0a4363 Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Mon, 10 Apr 2023 22:57:36 -0500 Subject: [PATCH] Doc: Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 (GH-103421) (cherry picked from commit 75b6ab80da95f7d731b0d69b8ee8adb095b24d27) Co-authored-by: C.A.M. Gerlach --- Doc/library/multiprocessing.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index f59a61faaa5d2f..dd9b8b3ab94ae8 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -443,7 +443,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)