summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-06-12 09:19:13 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-06-12 09:19:13 (GMT)
commit0b19e1e72cd4c76946cece13cf194ac50ccf8487 (patch)
tree8815a84c30000fdb4db566b15b34cfd7be41fd62
parent179f960d47dc9f2c18e5b535db63fb70b21fc3ea (diff)
downloadcpython-0b19e1e72cd4c76946cece13cf194ac50ccf8487.zip
cpython-0b19e1e72cd4c76946cece13cf194ac50ccf8487.tar.gz
cpython-0b19e1e72cd4c76946cece13cf194ac50ccf8487.tar.bz2
Issue #27221: Delete an outdated paragraph about pickle support of Process
Initial patch by Jelle Zijlstra.
-rw-r--r--Doc/library/multiprocessing.rst7
1 files changed, 1 insertions, 6 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index c5c092c..216a092 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -2723,12 +2723,7 @@ start method.
More picklability
- Ensure that all arguments to :meth:`Process.__init__` are
- picklable. This means, in particular, that bound or unbound
- methods cannot be used directly as the ``target`` (unless you use
- the *fork* start method) --- just define a function and use that
- instead.
-
+ Ensure that all arguments to :meth:`Process.__init__` are picklable.
Also, if you subclass :class:`~multiprocessing.Process` then make sure that
instances will be picklable when the :meth:`Process.start
<multiprocessing.Process.start>` method is called.