[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 The Process class
2nd code example: "To show the individual process IDs involved, here is an expanded example"

def info(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>

More information about the docs mailing list