[docs] [issue25169] multiprocess documentation
John Taylor
report at bugs.python.org
Fri Sep 18 16:54:36 CEST 2015
New submission from John Taylor:
In the Windows Help File for Python 3.5:
17.2 multiprocessing
17.2.1.1 The Process class
2nd code example: "To show the individual process IDs involved, here is an expanded example"
def info(title):
print(title)
print('module name:', __name__)
if hasattr(os, 'getppid'): # only available on Unix
print('parent process:', os.getppid())
print('process id:', os.getpid())
os.getppid() is now available on Windows, so you can remove the if statement.
----------
assignee: docs at python
components: Documentation
messages: 251002
nosy: docs at python, jftuga
priority: normal
severity: normal
status: open
title: multiprocess documentation
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25169>
_______________________________________
More information about the docs
mailing list