Feature suggestion -- return if true

James Mills prologic at shortcircuit.net.au
Mon Apr 11 22:59:11 EDT 2011


On Tue, Apr 12, 2011 at 12:43 PM, Zero Piraeus <schesis at gmail.com> wrote:
> I think the point is that OP doesn't want to return *at all* if expr
> is False - presumably because there are further statements after the
> proposed 'conditional' return.

If that's the case then we're all making assumptions
about what the OP intended. Perhaps OPs should be more
clear ? :)

kid!

cheers
James

-- 
-- James Mills
--
-- "Problems are solved by method"



More information about the Python-list mailing list