len()

Terry Reedy tjreedy at udel.edu
Wed Feb 4 14:11:20 EST 2009


Pat wrote:
> Andreas Waldenburger wrote:
>> On Sat, 31 Jan 2009 13:27:02 -0500 Pat <Pat at junk.net> wrote:
>>
>>> 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.
>>>
>> Huh? Gabriel Genellina replied about 46 minutes after it was posted.
>> Might it be that your newsserver is a bit laggy?
>>
>> regards
>> /W
>>
> 
> Might be laggy.  Who knows.
> 
> Why didn't you answer the len() question?

I didn't respond because it has been asked and answered before, so the 
answer can be found in the google archives or even maybe the FAQ.




More information about the Python-list mailing list