[Python-checkins] cpython (merge 3.5 -> default): Issue #27221: Merge from 3.5
berker.peksag
python-checkins at python.org
Sun Jun 12 05:19:35 EDT 2016
https://hg.python.org/cpython/rev/5b9d8b5b1139
changeset: 101935:5b9d8b5b1139
parent: 101933:86959c696ab7
parent: 101934:97254031f0b7
user: Berker Peksag <berker.peksag at gmail.com>
date: Sun Jun 12 12:19:39 2016 +0300
summary:
Issue #27221: Merge from 3.5
files:
Doc/library/multiprocessing.rst | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -2729,12 +2729,7 @@
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.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list