def _pprint_dict(seq, _nest_lvl=<NUM_LIT:0>, max_seq_items=None, **kwds):
fmt = "<STR_LIT>"<EOL>pairs = []<EOL>pfmt = "<STR_LIT>"<EOL>if max_seq_items is False:<EOL><INDENT>nitems = len(seq)<EOL><DEDENT>else:<EOL><INDENT>nitems = max_seq_items or get_option("<STR_LIT>") or len(seq)<EOL><DEDENT>for k, v in list(seq.items())[:nitems]:<EOL><INDENT>pairs.append(<EOL>pfmt.format(<EOL>key=pprint_thing(k, _nest_lvl + <NUM_LIT:1>,<EOL>max_seq_items=max_seq_items, **kwds),<EOL>val=pprint_thing(v, _nest_lvl + <NUM_LIT:1>,<EOL>max_seq_items=max_seq_items, **kwds)))<EOL><DEDENT>if nitems < len(seq):<EOL><INDENT>return fmt.format(things="<STR_LIT:U+002CU+0020>".join(pairs) + "<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>return fmt.format(things="<STR_LIT:U+002CU+0020>".join(pairs))<EOL><DEDENT>
internal. pprinter for iterables. you should probably use pprint_thing()
rather then calling this directly.