def __repr__(self, _repr_running={}):
call_key = id(self), _get_ident()<EOL>if call_key in _repr_running:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>_repr_running[call_key] = <NUM_LIT:1><EOL>try:<EOL><INDENT>if not self:<EOL><INDENT>return '<STR_LIT>' % (self.__class__.__name__,)<EOL><DEDENT>return '<STR_LIT>' % (self.__class__.__name__, self.items())<EOL><DEDENT>finally:<EOL><INDENT>del _repr_running[call_key]<EOL><DEDENT>
od.__repr__() <==> repr(od)