(obj, p, cycle)
| 923 | p.pretty(cls_ctor(list(obj))) |
| 924 | |
| 925 | def _counter_pprint(obj, p, cycle): |
| 926 | cls_ctor = CallExpression.factory(obj.__class__.__name__) |
| 927 | if cycle: |
| 928 | p.pretty(cls_ctor(RawText("..."))) |
| 929 | elif len(obj): |
| 930 | p.pretty(cls_ctor(dict(obj.most_common()))) |
| 931 | else: |
| 932 | p.pretty(cls_ctor()) |
| 933 | |
| 934 | |
| 935 | def _userlist_pprint(obj, p, cycle): |