diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-06-12 09:19:39 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-06-12 09:19:39 (GMT) |
commit | db287b5ca7f5010baacd6c49d9733e1aef0de752 (patch) | |
tree | ea4ec47b7ee2487c487d1730e93e3ea625578def /Doc | |
parent | b62ff6eb577fe1cbacc4b2a8def78ba3e58c34dd (diff) | |
parent | 0b19e1e72cd4c76946cece13cf194ac50ccf8487 (diff) | |
download | cpython-db287b5ca7f5010baacd6c49d9733e1aef0de752.zip cpython-db287b5ca7f5010baacd6c49d9733e1aef0de752.tar.gz cpython-db287b5ca7f5010baacd6c49d9733e1aef0de752.tar.bz2 |
Issue #27221: Merge from 3.5
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 1fe147d..8815217 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -2729,12 +2729,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. |