]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-90483: fix docs of `SubprocessTransport.get_pipe_transport ` (#137852)
authorKumar Aditya <kumaraditya@python.org>
Sat, 16 Aug 2025 11:11:45 +0000 (16:41 +0530)
committerGitHub <noreply@github.com>
Sat, 16 Aug 2025 11:11:45 +0000 (11:11 +0000)
Doc/library/asyncio-protocol.rst

index 7c08d65f26bc27e1495d479731b5da273c1d9b11..5208f14c94a50f0526f7872cb36868f47da0ce50 100644 (file)
@@ -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`