Couldn't we define something like :
def _len_(self):
return ...that behave like we want as it is done for _str_ and _repr_ ? Sébastien Labbé LaCIM, Montréal --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
