[docs] small documentation bug in multiprocessing

Matt Woelfel matthew.woelfel at gmail.com
Sun Jul 1 16:00:31 CEST 2012


Hi Georg,

I see I should have read the example more closely on what it was trying to
show.  Thank you for the clarification.

Kind regards,

Matt
On Jul 1, 2012 2:49 AM, "Georg Brandl" <georg at python.org> wrote:

> On 27.06.2012 00:32, Matt Woelfel wrote:
>
>> Hello,
>>
>> I was reading the documentation at:
>> http://docs.python.org/**library/multiprocessing.html#**
>> module-multiprocessing<http://docs.python.org/library/multiprocessing.html#module-multiprocessing>
>>
>> I came across a bug where the sample code doesn't run:
>> Search for "getppid", which should be changed to "getpid".
>>
>
> Hi Matt,
>
> Thanks for the report.  getppid() is certainly the correct function to call
> here.  But it is not available on Windows, so I've now made the call
> conditional in the example.
>
> cheers,
> Georg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20120701/c4445219/attachment-0001.html>


More information about the docs mailing list