gh-105857: Document that asyncio subprocess std{in,out,err} can be file handles (#107986)

stdin/out can be filehandles -> add to docs.
This commit is contained in:
Hadházy Tamás 2023-08-22 19:41:56 +01:00 committed by GitHub
parent 39de79b345
commit 13966da71b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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