"Canonical" way of deleting elements from lists

Robert Latest boblatest at yahoo.com
Wed Jan 9 06:21:01 EST 2008


Fredrik Lundh wrote:

>     keywords = filter(None, keywords) # get "true" items only

Makes seinse. BTW, where can I find all methods of the built-in types? 
Section 3.6 only talks about strings and mentions the list append() method 
only in an example. Am I too stupid to read the manual, or is this an 
omission?

robert



More information about the Python-list mailing list