Commit 0b19e1e7 authored by Berker Peksag's avatar Berker Peksag

Issue #27221: Delete an outdated paragraph about pickle support of Process

Initial patch by Jelle Zijlstra.
parent 179f960d
...@@ -2723,12 +2723,7 @@ start method. ...@@ -2723,12 +2723,7 @@ start method.
More picklability More picklability
Ensure that all arguments to :meth:`Process.__init__` are Ensure that all arguments to :meth:`Process.__init__` are picklable.
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.
Also, if you subclass :class:`~multiprocessing.Process` then make sure that Also, if you subclass :class:`~multiprocessing.Process` then make sure that
instances will be picklable when the :meth:`Process.start instances will be picklable when the :meth:`Process.start
<multiprocessing.Process.start>` method is called. <multiprocessing.Process.start>` method is called.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment