On 14/06/20 1:42 pm, Chris Angelico wrote:
Hmm, I think I see what you mean. So awaiting it would be "spam(123)"

No, it would still be "await spam(123)". It's just that you wouldn't
be able to separate the await from the call, so this wouldn't be
allowed:

   a = spam(123)
   await a

Incidentally, I think that "async" and "await" are terrible names
for what they represent. In my idea they were spelled "codef" and
"cocall". But we seem to be stuck with async/await now.

--
Greg
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/QRS62ER3XDKZ3K2DDPTIBR6IPESLU7Q3/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to