]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-149857: Clarify multiprocessing Process argument wording (GH-149919)
authorMani Salahmand <78011313+ManiSalahmand@users.noreply.github.com>
Sun, 17 May 2026 06:01:50 +0000 (08:01 +0200)
committerGitHub <noreply@github.com>
Sun, 17 May 2026 06:01:50 +0000 (23:01 -0700)
Use consistent 'picklable' wording

Doc/library/multiprocessing.rst

index 187143d02cd7bfbb13a9b9c2d832759e746655e6..7b17df08f7dc712664505992c8c32a14bfaa9a87 100644 (file)
@@ -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: