Message316918
Apologies if I wasn't clear. I understand that
def f():
yield 1
return
is valid python. What I'm saying, if you follow the link, is that
def f():
yield 1
return 2 # not the argument
should not be considered valid python according to PEP 255. This is implemented in python 2 but not in python 3. |
|
Date |
User |
Action |
Args |
2018-05-17 12:21:26 | FHTMitchell | set | recipients:
+ FHTMitchell, serhiy.storchaka |
2018-05-17 12:21:26 | FHTMitchell | set | messageid: <1526559686.31.0.682650639539.issue33555@psf.upfronthosting.co.za> |
2018-05-17 12:21:26 | FHTMitchell | link | issue33555 messages |
2018-05-17 12:21:26 | FHTMitchell | create | |
|