'Get attribute(s) information of the column definition.
Parameters
attrib : str
Can be one or more of the attributes listed in
``astropy.io.fits.column.KEYWORD_ATTRIBUTES``.  The default is
``"all"`` which will print out all attributes.  It forgives plurals
and blanks.  If there are two or more attribute names, they must be
separated by comma(s).
output : file, optional
File-like object to output to.  Outputs to stdout by default.
If `False`, returns the attributes as a `dict` instead.
Notes
This function doesn\'t return anything by default; it just prints to
stdout.'

def info(self, attrib='all', output=None):

    if (output is None):
        output = sys.stdout
    if (attrib.strip().lower() in ['all', '']):
        lst = KEYWORD_ATTRIBUTES
    else:
        lst = attrib.split(',')
        for idx in range(len(lst)):
            lst[idx] = lst[idx].strip().lower()
            if (lst[idx][(-1)] == 's'):
                lst[idx] = list[idx][:(-1)]
    ret = {}
    for attr in lst:
        if output:
            if (attr not in KEYWORD_ATTRIBUTES):
                output.write("'{}'    is    not    an    attribute    of    the    column    definitions.\n".format(attr))
                continue
            output.write('{}:\n'.format(attr))
            output.write('                {}\n'.format(getattr(self, (attr + 's'))))
        else:
            ret[attr] = getattr(self, (attr + 's'))
    if (not output):
        return ret
