len() and PEP 3000

Giovanni Bajo noway at ask.me
Thu Dec 7 06:13:20 EST 2006


Thomas Guettler wrote:

> I have read the FAQ to the len function:
> http://www.python.org/doc/faq/general/#why-does-python-use-methods-for-some-functionality-e-g-list-index-but-functions-for-other-e-g-len-list

Outdated. You want to read the new FAQ, here:
http://effbot.org/pyfaq/why-does-python-use-methods-for-some-functionality-e-g-list-index-but-functions-for-other-e-g-len-list.htm
-- 
Giovanni Bajo



More information about the Python-list mailing list