def __repr__(self):
spacing = '<STR_LIT:U+0020>'*<NUM_LIT:2><EOL>cspacing = '<STR_LIT:U+0020>'*<NUM_LIT:4><EOL>hdu = self.fitshdu<EOL>info = self.fitshdu._info<EOL>colinfo = info['<STR_LIT>']<EOL>text = []<EOL>text.append("<STR_LIT>" % (spacing, hdu._filename))<EOL>text.append("<STR_LIT>" % (spacing, info['<STR_LIT>']-<NUM_LIT:1>))<EOL>text.append("<STR_LIT>" % (spacing, _hdu_type_map[info['<STR_LIT>']]))<EOL>text.append('<STR_LIT>' % (spacing, info['<STR_LIT>']))<EOL>text.append("<STR_LIT>" % spacing)<EOL>cspacing = '<STR_LIT:U+0020>'*<NUM_LIT:4><EOL>nspace = <NUM_LIT:4><EOL>nname = <NUM_LIT:15><EOL>ntype = <NUM_LIT:6><EOL>format = cspacing + "<STR_LIT>" + str(nname) + "<STR_LIT>" + str(ntype) + "<STR_LIT>"<EOL>pformat = (<EOL>cspacing + "<STR_LIT>" + str(nname) + "<STR_LIT>" +<EOL>str(nspace+nname+ntype) + "<STR_LIT>")<EOL>for colnum in self.colnums:<EOL><INDENT>cinfo = colinfo[colnum]<EOL>if len(cinfo['<STR_LIT:name>']) > nname:<EOL><INDENT>f = pformat<EOL><DEDENT>else:<EOL><INDENT>f = format<EOL><DEDENT>dt, isvar, istbit = hdu._get_tbl_numpy_dtype(<EOL>colnum, include_endianness=False)<EOL>if isvar:<EOL><INDENT>tform = cinfo['<STR_LIT>']<EOL>if dt[<NUM_LIT:0>] == '<STR_LIT:S>':<EOL><INDENT>dt = '<STR_LIT>'<EOL>dimstr = '<STR_LIT>' % _extract_vararray_max(tform)<EOL><DEDENT>else:<EOL><INDENT>dimstr = '<STR_LIT>' % _extract_vararray_max(tform)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>dimstr = _get_col_dimstr(cinfo['<STR_LIT>'])<EOL><DEDENT>s = f % (cinfo['<STR_LIT:name>'], dt, dimstr)<EOL>text.append(s)<EOL><DEDENT>s = "<STR_LIT:\n>".join(text)<EOL>return s<EOL>
Representation for TableColumnSubset