On Tue, Sep 6, 2016 at 6:46 AM, Yury Selivanov <yselivanov...@gmail.com> wrote:
> Hi Sven,
>
> I doubt that anybody ever would write something like that; this is just
> examples of what the PEP will enable.
using the same object as iterator and async generator, may be not.
but isn't it good to write code for sync iteration and async iteration
in the same class?
so that if I'm writing a library, I can say that the library supports both.

Junior (3rd yr) student at Indian School of Mines,(IIT Dhanbad)
Computer Science and Engineering Department
ph: +91 9491 383 249
telegram_id: @eightnoteight
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to