len()

Pat Pat at junk.net
Sat Jan 31 13:27:02 EST 2009


Tobiah wrote:
> Just out of curiosity, why was len() made to
> be it's own function?  I often find myself
> typing things like my_list.len before I
> catch myself.
> 
> Thanks,
> 
> Toby

I'm surprised that no one responded to that question.

I keep making that mistake all the time myself.



More information about the Python-list mailing list