ENH: use reprlib for dicts