From: C.A.M. Gerlach Date: Mon, 10 Apr 2023 19:17:43 +0000 (-0500) Subject: Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ace51dcdb781b0608b1273d246ebaee849561435;p=thirdparty%2FPython%2Fcpython.git Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 --- diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 8454296b815b..84e309f1bc83 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)