[docs] small documentation bug in multiprocessing
Georg Brandl
georg at python.org
Sun Jul 1 09:49:49 CEST 2012
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
>
> 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
More information about the docs
mailing list