ID EN
Multiprocessing

parent_process

Python 3.11

Return the Process object corresponding to the parent process of the current_process(). For the main process, parent_process will be None.

Syntax

PYTHON
multiprocessing.parent_process()

See Also

Process current_process()