On 2007-10-31, Duncan Booth <[EMAIL PROTECTED]> wrote: > Obviously it isn't an absolute thing: lists and dictionaries do > have other methods in the user namespace, so the decision to > keep len out of that namespace is partly a judgement call, and > partly historical (I think tuples didn't used to have any > methods at all).
Thanks for the interesting note. I didn't know that tuples originally had no methods. That made len mandatory, I suppose. -- Neil Cerutti The Pastor would appreciate it if the ladies of the congregation would lend him their electric girdles for the pancake breakfast next Sunday morning. --Church Bulletin Blooper -- http://mail.python.org/mailman/listinfo/python-list