On Thu, Nov 08, 2012 at 10:56:26PM +0000, Simon King wrote:
> why not make __len__ an alias for the cardinality?

It can't be a plain alias: __len__ is only allowed to return an `int`,
whereas cardinality should return an Integer or +infinity.

Cheers,
                                Nicolas
--
Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net>
http://Nicolas.Thiery.name/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to