gh-137128: Remove outdated todo about coro_fns in asyncio (#137385)

This commit is contained in:
alexey semenyuk 2025-08-04 21:44:29 +05:00 committed by GitHub
parent 08ce7c6958
commit c5cebe1b5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,7 +62,6 @@ async def staggered_race(coro_fns, delay, *, loop=None):
coroutine's entry is ``None``. coroutine's entry is ``None``.
""" """
# TODO: when we have aiter() and anext(), allow async iterables in coro_fns.
loop = loop or events.get_running_loop() loop = loop or events.get_running_loop()
parent_task = tasks.current_task(loop) parent_task = tasks.current_task(loop)
enum_coro_fns = enumerate(coro_fns) enum_coro_fns = enumerate(coro_fns)