[Typo]: library/multiprocessing 中 Process 类部分结尾段落存在误译
Closed this issue · 2 comments
NCBM commented
Python Version
3.14+
Docs Page
https://docs.python.org/zh-cn/3.14/library/multiprocessing.html#the-process-class
Original Translation
传给 Process 的参数通常要求在子进程内部保持不可 pickle。 如果你尝试直接将上面的示例类型化到 REPL 中将导致试图在 main 模块中定位 f 函数的子进程引发 AttributeError。
Original Docs Paragraph
The arguments to 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 AttributeError in the child process trying to locate the f function in the main module.
Suggested Fix
传给 Process 的参数通常要求在子进程内部可被 unpickle。 如果你尝试直接将上面的示例输入到 REPL 中将导致试图在 main 模块中定位 f 函数的子进程引发 AttributeError。
NCBM commented
参考信息:python/cpython#132898
注:Python 3.13 的文档中对应的文段未同步翻译。
silkriver commented
fixed