[docs] minor bug in python documentation 2.7 - multiprocessing
Christian Herdtweck
christian.herdtweck at tuebingen.mpg.de
Wed Apr 27 10:28:07 CEST 2011
Hi all,
first of all thanks for the work you all put into python - much
appreciated :-)
I found a minor bug in the python documentation (version 2.7),
library reference, multiprocessing package:
http://docs.python.org/library/multiprocessing.html
In the description of Pipe the docu says:
If duplex is False then the pipe is unidirectional: conn1 can only be
used for receiving messages and conn2 can only be used for sending messages.
which is exactly the other way round as used in the the example on the
same page further down, where the first connection sends and the second
receives:
>>> from multiprocessing import Pipe
>>> a, b = Pipe()
>>> a.send([1, 'hello', None])
>>> b.recv()
I do not know which one is correct
Cheers
Christian
More information about the docs
mailing list