From: Mani Salahmand <78011313+ManiSalahmand@users.noreply.github.com> Date: Sun, 17 May 2026 06:01:50 +0000 (+0200) Subject: gh-149857: Clarify multiprocessing Process argument wording (GH-149919) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1bab6c919212cbac9be9e37bbd4d85865051f17f;p=thirdparty%2FPython%2Fcpython.git gh-149857: Clarify multiprocessing Process argument wording (GH-149919) Use consistent 'picklable' wording --- diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 187143d02cd7..7b17df08f7dc 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -100,10 +100,10 @@ To show the individual process IDs involved, here is an expanded example:: For an explanation of why the ``if __name__ == '__main__'`` part is necessary, see :ref:`multiprocessing-programming`. -The arguments to :class:`Process` usually need to be unpickleable from within -the child process. If you tried typing the above example directly into a REPL it -could lead to an :exc:`AttributeError` in the child process trying to locate the -*f* function in the ``__main__`` module. +The arguments to :class:`Process` usually need to be picklable so they can be +passed to the child process. If you tried typing the above example directly +into a REPL it could lead to an :exc:`AttributeError` in the child process +trying to locate the *f* function in the ``__main__`` module. .. _multiprocessing-start-methods: