c[:]()

Terry Reedy tjreedy at udel.edu
Sun Jun 3 23:07:32 EDT 2007


"Marc 'BlackJack' Rintsch" <bj_666 at gmx.net> wrote in message 
news:pan.2007.06.03.20.03.25.278011 at gmx.net...
|| Warren Stringer wanted to call the functions just for the side effects
| without interest in the return values.  So building a list of return
| values which is immediately thrown away is a waste of time and memory.

Also unnecessary: for f in callables: f()

tjr






More information about the Python-list mailing list