Georg Brandl added the comment: This may seem odd, but is correct as per spec.
The "if c in a" part is executed in a scope of its own, and class scopes don't contribute to nested scoping. ---------- nosy: +georg.brandl resolution: -> wont fix status: open -> closed __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2217> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com