def _print_dict(elem_dict):
for key, value in sorted(elem_dict.iteritems()):<EOL><INDENT>if isinstance(value, collections.Iterable):<EOL><INDENT>print(key, len(value))<EOL><DEDENT>else:<EOL><INDENT>print(key, value)<EOL><DEDENT><DEDENT>
Print a dict in a readable way