Hi,

I tried Pylint today and it gave me a warning for the function
"filter". Is it deprecated? Is the usage of list comprehensions
encouraged? The transformation is not complicated, by the way:
replace "filter( func, seq )" with "[ x for x in seq if func(x) ]" .

Thanks,

Laszlo
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to