Array of dict or lists or ....?

Hrvoje Niksic hniksic at
Tue Oct 7 09:45:39 CEST 2008

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

More information about the Python-list mailing list