Show More
@@ -764,12 +764,8 b' except AttributeError: # Python 3' | |||||
764 | _dict_pprinter_factory('mappingproxy({', '})') |
|
764 | _dict_pprinter_factory('mappingproxy({', '})') | |
765 | _type_pprinters[slice] = _repr_pprint |
|
765 | _type_pprinters[slice] = _repr_pprint | |
766 |
|
766 | |||
767 | try: |
|
767 | _type_pprinters[range] = _repr_pprint | |
768 |
|
|
768 | _type_pprinters[bytes] = _repr_pprint | |
769 | _type_pprinters[unicode] = _repr_pprint |
|
|||
770 | except NameError: |
|
|||
771 | _type_pprinters[range] = _repr_pprint |
|
|||
772 | _type_pprinters[bytes] = _repr_pprint |
|
|||
773 |
|
769 | |||
774 | #: printers for types specified by name |
|
770 | #: printers for types specified by name | |
775 | _deferred_type_pprinters = { |
|
771 | _deferred_type_pprinters = { |
General Comments 0
You need to be logged in to leave comments.
Login now