diff options
author | C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | 2023-04-11 03:57:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 03:57:36 (GMT) |
commit | 75b6ab80da95f7d731b0d69b8ee8adb095b24d27 (patch) | |
tree | 84e19096bd24cf73ff75f0f01ee82e57f16028d0 | |
parent | d034590294d4618880375a6db513c30bce3e126b (diff) | |
download | cpython-75b6ab80da95f7d731b0d69b8ee8adb095b24d27.zip cpython-75b6ab80da95f7d731b0d69b8ee8adb095b24d27.tar.gz cpython-75b6ab80da95f7d731b0d69b8ee8adb095b24d27.tar.bz2 |
Doc: Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 (#103421)
-rw-r--r-- | Doc/library/multiprocessing.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 8454296..84e309f 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) |