Why is dictionary.keys() a list and not a set?

Christoph Zwerschke cito at online.de
Sun Nov 27 09:37:34 EST 2005


Martin v. Löwis wrote:

> I long forgot was the original question was (I thought it was
> "Why is dictionary.keys() a list and not a set?" :-)

Er, yes. Probably we should have opened a new thread instead: 
"Improvement of the std lib doc concerning keys of sets/dicts".

-- Christoph



More information about the Python-list mailing list