On 3    , 18:44, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]>,
>
> >bla-bla-bla
> > it is easy to read and understandable.
>
> And has the same issue as a list comprehension if all you want is the side
> effect of the calls: a useless temporary list full of `None`\s is build.
>
> Ciao,
>         Marc 'BlackJack' Rintsch

functoins can return a values, and you get it. I don't think that it
is bad side effect.
When you write simple
>>> def a(): print "From Russia with love."
>>> a()
you have side effect too - returning "None".

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

Reply via email to