def __repr__(self):
text, spacing = self._get_repr_list()<EOL>text.append("<STR_LIT>" % spacing)<EOL>cspacing = '<STR_LIT:U+0020>'*<NUM_LIT:4><EOL>if '<STR_LIT>' in self._info:<EOL><INDENT>if self._info['<STR_LIT>'] is not None:<EOL><INDENT>text.append(<EOL>"<STR_LIT>" % (cspacing, self._info['<STR_LIT>']))<EOL><DEDENT>if self._info['<STR_LIT>'] != <NUM_LIT:0>:<EOL><INDENT>dimstr = [str(d) for d in self._info['<STR_LIT>']]<EOL>dimstr = "<STR_LIT:U+002C>".join(dimstr)<EOL><DEDENT>else:<EOL><INDENT>dimstr = '<STR_LIT>'<EOL><DEDENT>dt = _image_bitpix2npy[self._info['<STR_LIT>']]<EOL>text.append("<STR_LIT>" % (cspacing, dt))<EOL>text.append("<STR_LIT>" % (cspacing, dimstr))<EOL><DEDENT>text = '<STR_LIT:\n>'.join(text)<EOL>return text<EOL>
Representation for ImageHDU