diff options
| author | Victor Stinner <vstinner@redhat.com> | 2018-09-28 08:40:08 -0700 |
|---|---|---|
| committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-09-28 08:40:08 -0700 |
| commit | 37aae9dcf18753b8ffda99d1a5758a90af852464 (patch) | |
| tree | 3c23cfb5c96156818898f5e021bd6debca5352f0 /Doc/library/asyncio-eventloop.rst | |
| parent | 077061a7b24917aaf31057885c69919c5a553c88 (diff) | |
| download | cpython-git-37aae9dcf18753b8ffda99d1a5758a90af852464.tar.gz | |
bpo-34687: Update asyncio doc for ProactorEventLoop (GH-9623)
Since ProactorEventLoop is now the default in 3.8, remove examples
using it explicitly on Windows.
https://bugs.python.org/issue34687
Diffstat (limited to 'Doc/library/asyncio-eventloop.rst')
| -rw-r--r-- | Doc/library/asyncio-eventloop.rst | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 50d6ea4b13..76c8ce9943 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -1432,15 +1432,6 @@ on all platforms. Availability: Windows. - An example how to use :class:`ProactorEventLoop` on Windows:: - - import asyncio - import sys - - if sys.platform == 'win32': - loop = asyncio.ProactorEventLoop() - asyncio.set_event_loop(loop) - .. seealso:: `MSDN documentation on I/O Completion Ports |
