I read from Python 2.6.3 docs that,copied from chm....

" Note that filter(function, iterable) is equivalent to [item for item in 
iterable if function(item)] if function is not None and [item for item in 
iterable if item] if function is None."

Since they said *equivalent* ,i thought both transform to same byte code.I 
missed the point that they are equal *logically*.



Regards,
Srini T.
--

_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to