From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 11 Apr 2023 04:07:21 +0000 (-0700) Subject: Doc: Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 (GH-103421) X-Git-Tag: v3.11.4~206 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a05392adb1b0892c2d93bcf29170cd53e06b811;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index b5ceeb796f8f..6f0062012b38 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -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)