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