Show More
@@ -908,6 +908,8 b' def _deque_pprint(obj, p, cycle):' | |||||
908 | cls_ctor = CallExpression.factory(obj.__class__.__name__) |
|
908 | cls_ctor = CallExpression.factory(obj.__class__.__name__) | |
909 | if cycle: |
|
909 | if cycle: | |
910 | p.pretty(cls_ctor(RawText("..."))) |
|
910 | p.pretty(cls_ctor(RawText("..."))) | |
|
911 | elif obj.maxlen is not None: | |||
|
912 | p.pretty(cls_ctor(list(obj), maxlen=obj.maxlen)) | |||
911 | else: |
|
913 | else: | |
912 | p.pretty(cls_ctor(list(obj))) |
|
914 | p.pretty(cls_ctor(list(obj))) | |
913 |
|
915 |
General Comments 0
You need to be logged in to leave comments.
Login now