Lisp mentality vs. Python mentality

Paul Rubin http
Sun Apr 26 05:16:03 EDT 2009


Arnaud Delobelle <arnodel at googlemail.com> writes:
> >      return (len(a) == len(b)) and all(imap(comp, izip(a, b)))
> Do you mean imap(comp, a, b)?

Oh yes, I forgot you can do that.  Thanks.



More information about the Python-list mailing list