[Python-Dev] if-syntax for regular for-loops

Nick Coghlan ncoghlan at gmail.com
Sun Oct 5 11:53:35 CEST 2008


Eric Smith wrote:
> I think it's a little too cute, and 'pass' is preferable.

Agreed - it was just a little surreal to put the "..." in as my usual
pseudo-code "stuff happens here" marker, only to realise what I had
written was still executable Py3k code.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
            http://www.boredomandlaziness.org


More information about the Python-Dev mailing list