Yury Selivanov <yseliva...@gmail.com> added the comment:

It's also important to note, that in 3.7, this is legal:

  def foo():
    return (await x for x in xs)

Note that 'foo' is a regular function, not 'async def'.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue10544>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to