[Python-3000] Builtin iterator type

Fredrik Lundh fredrik at pythonware.com
Wed Nov 15 09:02:22 CET 2006


Mike Orr wrote:

 > len() here is a unifier: it says "thou shalt do this, .__len__ method,
 > or users will be pissed that len() doesn't work on your type".

that's an excellent observation.  mind if I borrow it for the related 
FAQ entry?

     http://tinyurl.com/y6vavp

</F>



More information about the Python-3000 mailing list