mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-46310: simplify for
loop in asyncio/windows_events
(GH-30334)
This commit is contained in:
parent
e13cdca0f5
commit
fc75bfb8be
1 changed files with 1 additions and 1 deletions
|
@ -839,7 +839,7 @@ class IocpProactor:
|
|||
return
|
||||
|
||||
# Cancel remaining registered operations.
|
||||
for address, (fut, ov, obj, callback) in list(self._cache.items()):
|
||||
for fut, ov, obj, callback in list(self._cache.values()):
|
||||
if fut.cancelled():
|
||||
# Nothing to do with cancelled futures
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue