On 2006-12-28, jonathan.beckett <[EMAIL PROTECTED]> wrote:

> I'm just finding it a bit weird that some of the built in functions are
> static, rather than methods of objects (such as len() being used to
> find the length of a list).

Well, they actually are methods of objects (at least they are
now -- maybe they didn't used to be).

len(foo) is just syntactic sugar for foo.__len__()

I think.

-- 
Grant Edwards                   grante             Yow!  Yow! STYROFOAM...
                                  at               
                               visi.com            
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to