diff options
author | Yurii Karabas <1998uriyyo@gmail.com> | 2020-11-28 08:21:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 08:21:17 (GMT) |
commit | e4fe303b8cca525e97d44e80c7e53bdab9dd9187 (patch) | |
tree | 746867bfba9e64e9bbf94d98a910edb06c589890 /Lib/asyncio/unix_events.py | |
parent | f9195318a863e237f41ed7665c767028cde1c9a3 (diff) | |
download | cpython-e4fe303b8cca525e97d44e80c7e53bdab9dd9187.zip cpython-e4fe303b8cca525e97d44e80c7e53bdab9dd9187.tar.gz cpython-e4fe303b8cca525e97d44e80c7e53bdab9dd9187.tar.bz2 |
bpo-42392: Remove loop parameter from asyncio.tasks and asyncio.subprocess (GH-23521)
Diffstat (limited to 'Lib/asyncio/unix_events.py')
-rw-r--r-- | Lib/asyncio/unix_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/unix_events.py b/Lib/asyncio/unix_events.py index f34a5b4..1b57e34 100644 --- a/Lib/asyncio/unix_events.py +++ b/Lib/asyncio/unix_events.py @@ -323,7 +323,7 @@ class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop): server._start_serving() # Skip one loop iteration so that all 'loop.add_reader' # go through. - await tasks.sleep(0, loop=self) + await tasks.sleep(0) return server |