diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-06-12 12:19:13 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-06-12 12:19:13 +0300 |
commit | 0b19e1e72cd4c76946cece13cf194ac50ccf8487 (patch) | |
tree | 8815a84c30000fdb4db566b15b34cfd7be41fd62 /Doc | |
parent | Issue #25455: Fixed a crash in repr of recursive functools.partial objects. (diff) | |
download | cpython-0b19e1e72cd4c76946cece13cf194ac50ccf8487.tar.gz cpython-0b19e1e72cd4c76946cece13cf194ac50ccf8487.tar.bz2 cpython-0b19e1e72cd4c76946cece13cf194ac50ccf8487.zip |
Issue #27221: Delete an outdated paragraph about pickle support of Process
Initial patch by Jelle Zijlstra.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/multiprocessing.rst | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index c5c092c1cee..216a0921ca0 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. |