Show More
@@ -46,6 +46,8 b' def pprint(o, bprefix=True):' | |||||
46 | return '%d' % o |
|
46 | return '%d' % o | |
47 | elif isinstance(o, float): |
|
47 | elif isinstance(o, float): | |
48 | return '%f' % o |
|
48 | return '%f' % o | |
|
49 | elif isinstance(o, tuple): | |||
|
50 | return '(%s)' % (b', '.join(pprint(a, bprefix=bprefix) for a in o)) | |||
49 | elif o is None: |
|
51 | elif o is None: | |
50 | return b'None' |
|
52 | return b'None' | |
51 | else: |
|
53 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now