I bet you meant PEP 525. PEP 515 is underscores in numeric literals.
And... I thought an empty "return" was equivalent to "return None"?
//arry/
On 8/24/20 4:20 PM, Paul Bryan wrote:
Per PEP 515:
It is aSyntaxErrorto have a non-emptyreturnstatement in an
asynchronous generator.
Synchronus generators can return values that include it in the
StopIteration exception. Why would a return value in an asynchronous
generator not do the same in the StopAsyncIteration?
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/IYF6QKMNSTZEVEXBDIJH7NO2VNDJNUZJ/
Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/NRUSC7ABTWTDQGKPVETB3PB46E42EP67/
Code of Conduct: http://python.org/psf/codeofconduct/