
Oct. 24, 2021
2:18 p.m.
On Mon, Oct 25, 2021 at 1:16 AM Zomatree . <angelokontaxis@hotmail.com> wrote:
What would the the syntax for the default be, i would presume just a single expression like a lambda, but what about something like an async function, for example: ```py async def foo(arg=>await get_arg()): ``` would this work?
That's an open question at the moment, but I suspect that it will be perfectly acceptable. Same with a yield expression in a generator. ChrisA