Show More
@@ -59,6 +59,9 b' def pprint(o, bprefix=False):' | |||||
59 | '%s: %s' % (pprint(k, bprefix=bprefix), |
|
59 | '%s: %s' % (pprint(k, bprefix=bprefix), | |
60 | pprint(v, bprefix=bprefix)) |
|
60 | pprint(v, bprefix=bprefix)) | |
61 | for k, v in sorted(o.items()))) |
|
61 | for k, v in sorted(o.items()))) | |
|
62 | elif isinstance(o, set): | |||
|
63 | return 'set([%s])' % (b', '.join( | |||
|
64 | pprint(k, bprefix=bprefix) for k in sorted(o))) | |||
62 | elif isinstance(o, tuple): |
|
65 | elif isinstance(o, tuple): | |
63 | return '(%s)' % (b', '.join(pprint(a, bprefix=bprefix) for a in o)) |
|
66 | return '(%s)' % (b', '.join(pprint(a, bprefix=bprefix) for a in o)) | |
64 | else: |
|
67 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now