On Sun, Sep 10, 2017 at 7:45 PM, Skip Montanaro
<skip.montan...@gmail.com> wrote:
>>  * asyncio with its a-dialect
>
> What is a/the "a-dialect"?

Want to make something iterable? Define __iter__. Want to make it
async-iterable (with "async for")? Define __aiter__. It's a bit clunky
if you want the same object to be iterable both ways, but I don't know
of any real-world situations where that's the case.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to