En Tue, 27 Jan 2009 20:30:29 -0200, Tobiah <t...@tobiah.org> escribió:
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.
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 and http://groups.google.com/group/comp.lang.python/browse_thread/thread/782dcb8d62f28cdb/1480c3f3a1bf68bb#1480c3f3a1bf68bb -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list