Open popescu-v opened 1 year ago
__repr__
needs indeed to be unambiguous, but it doesn't need to be succinct.
On the other hand, __str__
needs to be readable; it doesn't need to be unambiguous. But it'd rather be succinct, for better readability.
Currently the
__repr__
and__str__
are equal.__repr__
however should be a succint unambiguous representation of the object.We should discuss first what should be this representation.