mirror of
https://github.com/python/cpython.git
synced 2025-10-02 21:25:24 +00:00
Doc: Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 (GH-103421)
(cherry picked from commit 75b6ab80da
)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
This commit is contained in:
parent
b80e4c89d8
commit
4a05392adb
1 changed files with 3 additions and 1 deletions
|
@ -445,7 +445,9 @@ process which created it.
|
||||||
importable by the children. This is covered in :ref:`multiprocessing-programming`
|
importable by the children. This is covered in :ref:`multiprocessing-programming`
|
||||||
however it is worth pointing out here. This means that some examples, such
|
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
|
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
|
>>> from multiprocessing import Pool
|
||||||
>>> p = Pool(5)
|
>>> p = Pool(5)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue