difference between len() and .__len__()?

Posted by Mark F on Stack Overflow See other posts from Stack Overflow or by Mark F
Published on 2010-03-20T00:53:24Z Indexed on 2010/03/20 1:01 UTC
Read the original article Hit count: 199

Filed under:

Just curious,

Is there any difference between calling len([1,2,3]) or [1,2,3].__len__() ? If there is no apparent difference, what is done differently behind the scenes?

Thanks

© Stack Overflow or respective owner

Related posts about python