Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Does not it change the current behavior? I do not see a difference with 
issue42725.

>>> def f():
...     x: (yield)
... 
>>> f()
<generator object f at 0x7f971b45d950>

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42837>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to