Message316584
| Author |
yselivanov |
| Recipients |
asvetlov, ericvw, gvanrossum, levkivskyi, pablogsal, serhiy.storchaka, yselivanov |
| Date |
2018年05月14日.21:28:58 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1526333338.82.0.682650639539.issue33346@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Did you mean {} for the outer brackets intead of []?
Yes, my bad.
> All of these should only be allowed inside 'async def' though, right?
Yep, except async generator expressions which are allowed to appear in synchronous contexts, e.g.:
def foo():
return (i async for i in ai)
(this already works in 3.7). |
|