[Python-Dev] Issue #26204: compiler now emits a SyntaxWarning on constant statement (original) (raw)

xiscu xiscu at email.de
Mon Feb 8 13:11:34 EST 2016


New behaviour:

haypo at smithers$ ./python Python 3.6.0a0 (default:759a975e1230, Feb 8 2016, 18:21:23)

def f(): ... False ...

Ok, I see in your case there's no return :-)



More information about the Python-Dev mailing list