Marco Mariani wrote:
Pat wrote:

Why didn't you answer the len() question?

It's a bit of a FAQ: len() cannot be a method of list objects because it works on any sequence or iterable.

Thats only half of the truth :-)

len() can use some internal optimizations on certain objects
where sequences indeed have a len() method called __len__()

Regards
Tino

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to