and [True,True] --> [True, True]?????

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Fri Apr 24 04:23:53 EDT 2009


On Fri, 24 Apr 2009 06:50:01 +0000, Lie Ryan wrote:

> Gerhard Häring wrote:
>> len() make it clear that the argument is a sequence.
> 
> Not necessarily. 

len() works on dicts and sets, and they're not sequences.


-- 
Steven



More information about the Python-list mailing list