]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 (#103421)
authorC.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Tue, 11 Apr 2023 03:57:36 +0000 (22:57 -0500)
committerGitHub <noreply@github.com>
Tue, 11 Apr 2023 03:57:36 +0000 (20:57 -0700)
Doc/library/multiprocessing.rst

index 8454296b815b41e402df09e40b075e084dc91a44..84e309f1bc832656989abcdebced9fe3c1a731d3 100644 (file)
@@ -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)