Feature suggestion -- return if true

James Mills prologic at shortcircuit.net.au
Mon Apr 18 01:36:52 CEST 2011


On Sun, Apr 17, 2011 at 8:03 PM, Martin v. Loewis <martin at v.loewis.de> wrote:
> No, it can't be simplified in this way.
> If there is code after that snippet, then
> it will get executed in the original version if _temp is
> false, but won't get executed in your simplification.

Martin, we've been over this! :) And you're a bit late...

You said it yourself "If there is code after that snippet"

cheers
James

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



More information about the Python-list mailing list