tenacity 8.2.0
fix: remove __iter__ from AsyncRetring (#387)

This method doesn't make sense for AsyncRetrying. And it's even more
vicious as:

```
for attempts in AsyncRetrying():
    with attempts:
        await do_for_a_while()
```

will work, but sleep(XXX) coroutine will never be awaited and the call is
retried instantly.

This change removes the __iter__ method from AsyncRetrying.

Co-authored-by: Julien Danjou <julien@danjou.info>
3 files changed