[Python-3000] Builtin iterator type

Fredrik Lundh fredrik at pythonware.com
Tue Nov 14 10:59:55 CET 2006


BJörn Lindqvist wrote:

> But why is both the dict and list protocol so fat then? Is it hard to
> create your own dict or list-derived types in Python?

don't confuse things like lists and dictionaries with things like 
sequences and mappings.  iterators and iterables belong to the second 
category.

</F>



More information about the Python-3000 mailing list