From: Berker Peksag Date: Sun, 12 Jun 2016 09:19:13 +0000 (+0300) Subject: Issue #27221: Delete an outdated paragraph about pickle support of Process X-Git-Tag: v3.6.0a2~23^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b19e1e72cd4c76946cece13cf194ac50ccf8487;p=thirdparty%2FPython%2Fcpython.git Issue #27221: Delete an outdated paragraph about pickle support of Process Initial patch by Jelle Zijlstra. --- diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index c5c092c1cee0..216a0921ca0f 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 ` method is called.