def __repr__(self, _repr_running={}):
call_key = id(self), _get_ident()<EOL>if call_key in _repr_running: <EOL><INDENT>return '<STR_LIT>' % self.__class__.__name__<EOL><DEDENT>_repr_running[call_key] = <NUM_LIT:1><EOL>try:<EOL><INDENT>try:<EOL><INDENT>if self.indices:<EOL><INDENT>names = force_list(self.indices.keys())<EOL>items = force_list(self.items())<EOL>return '<STR_LIT>' % (self.__class__.__name__, items, names)<EOL><DEDENT><DEDENT>except AttributeError: <EOL><INDENT>pass<EOL><DEDENT>return '<STR_LIT>' % self.__class__.__name__<EOL><DEDENT>finally:<EOL><INDENT>del _repr_running[call_key]<EOL><DEDENT>
repr as "MIDict(items, names)