mirror of https://github.com/python/cpython
Avoid error lexing multiprocessing docs code block on Pygments 2.15.0
This commit is contained in:
parent
c3cd3d1078
commit
ace51dcdb7
|
@ -452,7 +452,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…
Reference in New Issue