Jacob Carlborg:

I would rather have function that generates a pretty representation of a given value. Then it either can be used to print the representation or something else.

That's the point of the Python pprint() (pretty print) function :-)

Bye,
bearophile

Reply via email to