Steven D'Aprano wrote:
> Does anyone know what builtin or stdlib objects iterators fail to 
> implement `__iter__`? I haven't been able to find any -- all the obvious 
> examples do (map, filter, reversed, zip, generators, list iterators, 
> set iterators, etc).
Could it possibly be... the async iterator family? Those beasts have 
__aiter__ and __anext__ methods. 
https://docs.python.org/3/reference/datamodel.html#asynchronous-iterators
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/54DGJJGOSMFPNGFLHLV33WOJVQA3ZANX/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to