Show More
@@ -638,7 +638,7 b' def _seq_pprinter_factory(start, end):' | |||
|
638 | 638 | p.text(',') |
|
639 | 639 | p.breakable() |
|
640 | 640 | p.pretty(x) |
|
641 |
if len(obj) == 1 and |
|
|
641 | if len(obj) == 1 and isinstance(obj, tuple): | |
|
642 | 642 | # Special case for 1-item tuples. |
|
643 | 643 | p.text(',') |
|
644 | 644 | p.end_group(step, end) |
General Comments 0
You need to be logged in to leave comments.
Login now