]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #27221: Delete an outdated paragraph about pickle support of Process
authorBerker Peksag <berker.peksag@gmail.com>
Sun, 12 Jun 2016 09:19:13 +0000 (12:19 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sun, 12 Jun 2016 09:19:13 +0000 (12:19 +0300)
Initial patch by Jelle Zijlstra.

Doc/library/multiprocessing.rst

index c5c092c1cee0ce1228df50f4ad56bdde9482b855..216a0921ca0f8e15c50792f907c0b38132aecc94 100644 (file)
@@ -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.