commit | c09a9f56c08d80567454cae6f78f738a89e1ae94 | [log] [tgz] |
---|---|---|
author | Thomas Moreau <thomas.moreau.2010@gmail.com> | Mon May 20 21:37:05 2019 +0200 |
committer | Antoine Pitrou <antoine@python.org> | Mon May 20 21:37:05 2019 +0200 |
tree | 7f00233cfa994ba74ca952d371ae85651690602a | |
parent | 5ae1c84bcd13b766989fc3f1e1c851e7bd4c1faa [diff] [blame] |
bpo-36888: Add multiprocessing.parent_process() (GH-13247)
diff --git a/Lib/multiprocessing/context.py b/Lib/multiprocessing/context.py index 871746b..5a48657 100644 --- a/Lib/multiprocessing/context.py +++ b/Lib/multiprocessing/context.py
@@ -35,6 +35,7 @@ AuthenticationError = AuthenticationError current_process = staticmethod(process.current_process) + parent_process = staticmethod(process.parent_process) active_children = staticmethod(process.active_children) def cpu_count(self):