Some basic newbie questions...
Kent Johnson
kent at kentsjohnson.com
Tue Jan 2 15:13:56 EST 2007
jonathan.beckett 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).
Another explanation 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
Kent
More information about the Python-list
mailing list