summaryrefslogtreecommitdiffstats
path: root/Doc/library/multiprocessing.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:29:26 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:29:26 (GMT)
commitecf41da83e5db98734b19f205899168cc56da943 (patch)
treee22e4354b5cc1e47d3781176a203037554eb3474 /Doc/library/multiprocessing.rst
parent9f2e377beb4731c770f1383f2bae92fe1b8cc2e2 (diff)
downloadcpython-ecf41da83e5db98734b19f205899168cc56da943.zip
cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.gz
cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.bz2
Issue #19795: Mark up None as literal text.
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-rw-r--r--Doc/library/multiprocessing.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index a5912f7..d45bc20 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -942,7 +942,7 @@ Miscellaneous
Return a context object which has the same attributes as the
:mod:`multiprocessing` module.
- If *method* is *None* then the default context is returned.
+ If *method* is ``None`` then the default context is returned.
Otherwise *method* should be ``'fork'``, ``'spawn'``,
``'forkserver'``. :exc:`ValueError` is raised if the specified
start method is not available.
@@ -956,10 +956,10 @@ Miscellaneous
If the start method has not been fixed and *allow_none* is false,
then the start method is fixed to the default and the name is
returned. If the start method has not been fixed and *allow_none*
- is true then *None* is returned.
+ is true then ``None`` is returned.
The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'``
- or *None*. ``'fork'`` is the default on Unix, while ``'spawn'`` is
+ or ``None``. ``'fork'`` is the default on Unix, while ``'spawn'`` is
the default on Windows.
.. versionadded:: 3.4
@@ -2028,7 +2028,7 @@ with the :class:`Pool` class.
*maxtasksperchild* is the number of tasks a worker process can complete
before it will exit and be replaced with a fresh worker process, to enable
- unused resources to be freed. The default *maxtasksperchild* is None, which
+ unused resources to be freed. The default *maxtasksperchild* is ``None``, which
means worker processes will live as long as the pool.
*context* can be used to specify the context used for starting
@@ -2298,7 +2298,7 @@ multiple connections at the same time.
``None`` then digest authentication is used.
If *authkey* is a byte string then it will be used as the
- authentication key; otherwise it must be *None*.
+ authentication key; otherwise it must be ``None``.
If *authkey* is ``None`` and *authenticate* is ``True`` then
``current_process().authkey`` is used as the authentication key. If