def _get_attrs(self):
    "Get attribute list\n\n        Provide access to the CDF's attribute list without holding a\n        strong reference, as the attribute list has a (strong)\n        back-reference to its parent.\n\n        Either deref a weak reference (to try and keep the object the same),\n        or make a new AttrList instance and assign it to the weak reference\n        for next time.\n        "
    al = self._attrlistref()
    if (al is None):
        al = gAttrList(self)
    self._attrlistref = weakref.ref(al)
    return al
Get attribute list

Provide access to the CDF's attribute list without holding a
strong reference, as the attribute list has a (strong)
back-reference to its parent.

Either deref a weak reference (to try and keep the object the same),
or make a new AttrList instance and assign it to the weak reference
for next time.
def _get_attrs(self):
    "Get attribute list\n\n        Provide access to the CDF's attribute list without holding a\n        strong reference, as the attribute list has a (strong)\n        back-reference to its parent.\n\n        Either deref a weak reference (to try and keep the object the same),\n        or make a new AttrList instance and assign it to the weak reference\n        for next time.\n        "
    al = self._attrlistref()
    if (al is None):
        al = gAttrList(self)
    self._attrlistref = weakref.ref(al)
    return al