From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 16 Aug 2025 11:17:55 +0000 (+0200) Subject: [3.13] gh-90483: fix docs of `SubprocessTransport.get_pipe_transport ` (GH-137852... X-Git-Tag: v3.13.8~181 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33a3f5e45800a40782ff90deb7e6aef8244dcabe;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-90483: fix docs of `SubprocessTransport.get_pipe_transport ` (GH-137852) (#137854) gh-90483: fix docs of `SubprocessTransport.get_pipe_transport ` (GH-137852) (cherry picked from commit 038a6e3b959b1fa55f43b2e60bc207c01f7da0ce) Co-authored-by: Kumar Aditya --- diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst index 7c08d65f26bc..5208f14c94a5 100644 --- a/Doc/library/asyncio-protocol.rst +++ b/Doc/library/asyncio-protocol.rst @@ -390,11 +390,11 @@ Subprocess Transports Return the transport for the communication pipe corresponding to the integer file descriptor *fd*: - * ``0``: readable streaming transport of the standard input (*stdin*), + * ``0``: writable streaming transport of the standard input (*stdin*), or :const:`None` if the subprocess was not created with ``stdin=PIPE`` - * ``1``: writable streaming transport of the standard output (*stdout*), + * ``1``: readable streaming transport of the standard output (*stdout*), or :const:`None` if the subprocess was not created with ``stdout=PIPE`` - * ``2``: writable streaming transport of the standard error (*stderr*), + * ``2``: readable streaming transport of the standard error (*stderr*), or :const:`None` if the subprocess was not created with ``stderr=PIPE`` * other *fd*: :const:`None`