]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 (GH-103421)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Apr 2023 04:07:21 +0000 (21:07 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Apr 2023 04:07:21 +0000 (21:07 -0700)
(cherry picked from commit 75b6ab80da95f7d731b0d69b8ee8adb095b24d27)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Doc/library/multiprocessing.rst

index b5ceeb796f8f2f25e410c3fa9563450c8932114a..6f0062012b3851bfe7c696442160e051b77931fc 100644 (file)
@@ -445,7 +445,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)