Tim Chase <[EMAIL PROTECTED]> writes: >>> __repr__ = __str__ >> >> I don't know if that's a good practice. > > I've seen it in a couple places, and it's pretty explicit what it's > doing.
But what's the point? Simply define __repr__, and both repr and str will pick it up. -- http://mail.python.org/mailman/listinfo/python-list