multiprocessing.Pipe([duplex])
Returns a pair (conn1, conn2) of [Connection](https://docs.python.org/3/library/multiprocessing.html#multiprocessing.connection.Connection) objects representing the ends of a pipe.
If duplex is True (the default) then the pipe is bidirectional. 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.
multiprocessing.Pipe([duplex=True])
Documentation
The documentation for Pipe reads:
The documentation mentions that the default value for
duplexisTruebut it's not listed in the constructor signature ofmultiprocessing.Pipe([duplex])It should read:
Linked PRs
multiprocessing.Pipe's doc #142109multiprocessing.Pipe's doc (GH-142109) #142120