[Tutor] List methods/comps Best Practices
stv
stvsmth at gmail.com
Tue Apr 4 00:19:59 CEST 2006
> So don't write:
> [adds.add_changes('foo', path) for path in filelist]
> but:
> for path in filelist: adds.add_changes('foo', path)
Excellent point; new toy, got carrid away :) I feel silly on that one.
And now that I've made the
return list.extend(foo)
mistake, I'll surely neve- ... er, wait a long time before I make that
mistake again.
Thanks folks.
On 4/3/06, Karl Pflästerer <khp at pflaesterer.de> wrote:
More information about the Tutor
mailing list