len() and PEP 3000
Bjoern Schliessmann
usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Wed Dec 6 08:48:11 EST 2006
Thomas Guettler wrote:
> I suggest that at least lists, tupples, sets, dictionaries and
> strings get a len() method.
Why?
> I think the len function can stay, removing it would break to much
> code. But adding the method, would bu usefull.
>
> Yes, I know, that I can call .__len__() but that is ugly.
That's what len() is for.
Regards,
Björn
--
BOFH excuse #281:
The co-locator cannot verify the frame-relay gateway to the ISDN
server.
More information about the Python-list
mailing list