On Fri, May 6, 2011 at 1:05 PM, Adam Tauno Williams
<awill...@whitemice.org> wrote:
<snip>
> - and ignore the Pythonistas [they're nuts;  that x.count() doesn't work
> is amazingly stupid].

Eh? It works fine. [5, 2, 2, 1, 2].count(2) == 3. If you mean you want
len(x) to be spelled x.count(), that's equally stupid; `count` would
be a lousy name (people would confuse it with what the current
.count() does). `length` or `size` would make much more sense.

Cheers,
Chris
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to