def __str__(self):
    "Returns a string representation of the attribute\n\n        This is an 'informal' representation in that it cannot be evaluated\n        directly to create an L{Attr}.\n\n        @return: all the data in this attribute\n        @rtype: str\n        "
    if self._cdf_file._opened:
        return '\n'.join([str(item) for item in self])
    elif isinstance(self._name, str):
        return 'Attribute "{0}" in closed CDF {1}'.format(self._name, self._cdf_file.pathname)
    else:
        return 'Attribute "{0}" in closed CDF {1}'.format(self._name.decode('ascii'), self._cdf_file.pathname.decode('ascii'))
Returns a string representation of the attribute

This is an 'informal' representation in that it cannot be evaluated
directly to create an L{Attr}.

@return: all the data in this attribute
@rtype: str
def __str__(self):
    "Returns a string representation of the attribute\n\n        This is an 'informal' representation in that it cannot be evaluated\n        directly to create an L{Attr}.\n\n        @return: all the data in this attribute\n        @rtype: str\n        "
    if self._cdf_file._opened:
        return '\n'.join([str(item) for item in self])
    elif isinstance(self._name, str):
        return 'Attribute "{0}" in closed CDF {1}'.format(self._name, self._cdf_file.pathname)
    else:
        return 'Attribute "{0}" in closed CDF {1}'.format(self._name.decode('ascii'), self._cdf_file.pathname.decode('ascii'))