Am Sonntag 21 Mai 2006 20:31 schrieb Terry Reedy:
> Isn't this the same as
>
> for node in tree:
> if node.haschildren():
>
>
> so that all you would save is ':\n' and the extra indents?
Saving an extra indent and the ':\n' makes it quite a bit easier for me to
rea
"Heiko Wundram" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>As I've noticed that I find myself typing the latter quite often
>in code I write, it would only be sensible to add the corresponding
>syntax for the for statement:
>
> for node in tree if node.haschildr