[issue22721] pprint output for sets and dicts is not stable

Serhiy Storchaka report at bugs.python.org
Wed Nov 5 17:03:01 CET 2014


Serhiy Storchaka added the comment:

> How about:  repr(obj).strip("'\"") ?

String can starts or ends with quotes. And string repr can be a part of the 
repr of other type (e.g. short list).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22721>
_______________________________________


More information about the Python-bugs-list mailing list