Message198788
Example:
>>> import pprint
>>> class S(set): pass
...
>>> S('abc')
S({'a', 'b', 'c'})
>>> pprint.pprint(S('abc'))
S({'a', 'b', 'c'})
>>> pprint.pprint(S('abc'), width=1)
{'a',
'b',
'c'}
And same for frozenset.
Here is a patch which fixes this issue. With a patch:
>>> pprint.pprint(S('abc'), width=1)
S({'a',
'b',
'c'}) |
|
Date |
User |
Action |
Args |
2013-10-01 14:55:31 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, fdrake, rhettinger, pitrou |
2013-10-01 14:55:31 | serhiy.storchaka | set | messageid: <1380639331.5.0.0634997889933.issue19137@psf.upfronthosting.co.za> |
2013-10-01 14:55:31 | serhiy.storchaka | link | issue19137 messages |
2013-10-01 14:55:31 | serhiy.storchaka | create | |
|