You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.10 introduces the anext builtin which calls __anext__ on the provided async iterator. It would be great if pyupgrade could automatically convert legacy async_iterator.__anext__() calls into anext(async_iterator) upon upgrading to Python 3.10 or above.
The text was updated successfully, but these errors were encountered:
Python 3.10 introduces the
anext
builtin which calls__anext__
on the provided async iterator. It would be great ifpyupgrade
could automatically convert legacyasync_iterator.__anext__()
calls intoanext(async_iterator)
upon upgrading to Python 3.10 or above.The text was updated successfully, but these errors were encountered: