Tim Chase <python.list at tim.thechases.com> 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.