From 84dd03b1b28637bd70a43518c3e2c61979649c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hadh=C3=A1zy=20Tam=C3=A1s?= Date: Tue, 15 Aug 2023 22:39:28 +0100 Subject: [PATCH] stdin/out can be filehandles -> add to docs. --- Doc/library/asyncio-eventloop.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 8f2d8f336c82bb..04af53b980ff9e 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -1442,6 +1442,7 @@ async/await code consider using the high-level * *stdin* can be any of these: * a file-like object + * an existing file descriptor (a positive integer), for example those created with :meth:`os.pipe()` * the :const:`subprocess.PIPE` constant (default) which will create a new pipe and connect it, * the value ``None`` which will make the subprocess inherit the file