[Python-ideas] Changing str(someclass) to return only the class name

Ethan Furman ethan at stoneleaf.us
Mon Oct 31 18:10:28 CET 2011


Guido van Rossum wrote:
> In my view, str() and repr() are both for human consumption

I was under the impression that repr() was for eval consumption (when 
possible).

~Ethan~



More information about the Python-ideas mailing list