>> 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 :-)