A Python 3000 Question
Neil Cerutti
horpner at yahoo.com
Wed Oct 31 10:13:28 EDT 2007
On 2007-10-31, Duncan Booth <duncan.booth at invalid.invalid> 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
More information about the Python-list
mailing list