j
k
j a
j l
Jonathan Slenders wrote:
@coroutine def a(): return (yield from b()) You could write it as: def a(): return b()
@coroutine def a(): return (yield from b())
You could write it as:
def a(): return b()
I'm guessing you mean def a(): return from b() but that wouldn't be a coroutine, because it doesn't contain a 'yield' anywhere. -- Greg
Back to the thread
Back to the list