On Feb 17, 9:59 pm, "Deron Meranda" <[EMAIL PROTECTED]> wrote:
[snip]

this may be really dense, but i'm curious what's wrong with the
"multiplexer" idiom:

for item in some_sequence:
        item2 = (not some_rare_condition and item) or \
                (some_rare_condition and
some_transform_function(item))
        ..... # more stuff

peace
stm

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to