[Python-Dev] for loop with if filter (original) (raw)
Paul Moore p.f.moore at gmail.com
Fri Nov 16 15:50:32 CET 2007
- Previous message: [Python-Dev] for loop with if filter
- Next message: [Python-Dev] for loop with if filter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 16/11/2007, Gustavo Carneiro <gjcarneiro at gmail.com> wrote:
Yes, I can do that, as well as I can use the 'continue' statement, but both versions are slightly more verbose and less clear than what I propose.
This should go to python-ideas, I guess. (FWIW, I can see the attraction of the idea, but I don't think it's worth the cost in terms of new syntax, subtle corner cases, etc etc).
Paul.
- Previous message: [Python-Dev] for loop with if filter
- Next message: [Python-Dev] for loop with if filter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]