thomas wouters fgxflgpythonorg wed apr 9 2008 630 pm oleg broytmann wrote wed apr 09 2008 092056am 0700 guido van rossum wrote already repr want unambiguous output str pretty output btw python 3000 fix problem strcontainer calls repr instead str elements container sensible way fix container defines __str__ whatever wants items inside container doesnt define __str__ defines alias __repr__ __repr__ used sensible thing call repr elements inside want containers prettier format passed str give __str__ pretty thing dont see point pretty format lists ambiguous want print list repr expect loop list print element expect print dont see value str1 1 1 1 1 n1 giving hard understand output thomas wouters hi im signature virus copy signature file help spread thu 07 aug 2008 152226 0200 python3000 recursive str types classes