On Sat, Oct 25, 2014 at 4:55 PM, Rustom Mody <rustompm...@gmail.com> wrote: > So give me a valid (ie useful) use where instead of the usual > l=[1,2,3] > l.append(4) > > we have > > foo(l.append(4))
Given that l.append(4) will always return None, there's not a lot of point passing that return value to something, unless you're doing this inside a lambda or something dumb like that. It won't be Pythonic. Your point? ChrisA -- https://mail.python.org/mailman/listinfo/python-list