Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: No, the example is correct, and gives the expected output.
>From the output you show, I suppose that you indented the "else:" clause incorrectly: it should align with the "for" loop, not the "if" statement. The "for...else.." construct is precisely the point of this paragraph. ---------- nosy: +amaury.forgeotdarc resolution: -> invalid status: open -> closed __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2724> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com