https://github.com/python/cpython/commit/038a6e3b959b1fa55f43b2e60bc207c01f7da0ce
commit: 038a6e3b959b1fa55f43b2e60bc207c01f7da0ce
branch: main
author: Kumar Aditya <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2025-08-16T11:11:45Z
summary:
gh-90483: fix docs of `SubprocessTransport.get_pipe_transport ` (#137852)
files:
M Doc/library/asyncio-protocol.rst
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
index 7c08d65f26bc27..5208f14c94a50f 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`
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]