(obj, p, cycle)
| 933 | |
| 934 | |
| 935 | def _userlist_pprint(obj, p, cycle): |
| 936 | cls_ctor = CallExpression.factory(obj.__class__.__name__) |
| 937 | if cycle: |
| 938 | p.pretty(cls_ctor(RawText("..."))) |
| 939 | else: |
| 940 | p.pretty(cls_ctor(obj.data)) |
| 941 | |
| 942 | |
| 943 | for_type_by_name('collections', 'defaultdict', _defaultdict_pprint) |