Discussions on Python.org
Return with value allowed in generators but not async generators?
Python Help
MadcowD
(William Guss)
October 6, 2024, 10:20pm
3
There’s not a good reason AFAIK. I’m proposing a fix here:
Allow Return Statements with Values in Asynchronous Generators
show post in topic