Nikhil <[EMAIL PROTECTED]> wrote: > Then why to have __len__() internal method at all when the built-in > len() is faster?
Because the internal method is used internally. The idea is that you define __len__() on your objects when appropriate. You are not expected to ever call it. -- http://mail.python.org/mailman/listinfo/python-list