bpo-45896: Fix docs default asyncio event loop on Windows (GH-29857)

This commit is contained in:
Rob 2021-12-01 07:24:46 -05:00 committed by GitHub
parent 49444fb807
commit f27bef3043
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1243,9 +1243,10 @@ async/await code consider using the high-level
.. note::
The default asyncio event loop on **Windows** does not support
subprocesses. See :ref:`Subprocess Support on Windows
<asyncio-windows-subprocess>` for details.
On Windows, the default event loop :class:`ProactorEventLoop` supports
subprocesses, whereas :class:`SelectorEventLoop` does not. See
:ref:`Subprocess Support on Windows <asyncio-windows-subprocess>` for
details.
.. coroutinemethod:: loop.subprocess_exec(protocol_factory, *args, \
stdin=subprocess.PIPE, stdout=subprocess.PIPE, \