Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:

Indeed; your sample is equivalent to:

temp = (j in ['a','b','c'])        # the "contains" operator
[e for i in temp]                  # basic list comprehension

Even if not meaningful, this code is syntactically correct.

----------
nosy: +amaury.forgeotdarc
resolution:  -> invalid
status: open -> closed

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2529>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to