What is not objects in Python?

greg greg at cosc.canterbury.ac.nz
Fri Oct 3 03:10:27 EDT 2008


Gabriel Genellina wrote:

> Had Python used the more generic size and __size__ from the beginning,  
> we'd be all happy now :)

Not necessarily -- len is slightly shorter, and more
comfortable to type on a qwerty keyboard.

But in any case, size-likers have an easy solution:

   size = len

:-)

(BTW, try doing that with the x.len() notation!)

-- 
Greg


  But it's too late to change things.
> 



More information about the Python-list mailing list