Skip to content

Commit

Permalink
pythongh-105857: Document that asyncio subprocess std{in,out,err} can…
Browse files Browse the repository at this point in the history
… be file handles (python#107986)

stdin/out can be filehandles -> add to docs.
  • Loading branch information
Hels15 authored Aug 22, 2023
1 parent 39de79b commit 13966da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Doc/library/asyncio-eventloop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 13966da

Please sign in to comment.