def add_attr_to_cache(self, attrname, num, scope):
    "Add an attribute to the name-to-number cache\n\n        This maintains a cache of name-to-number mappings for attributes\n        to keep from having to query the CDF library constantly. It's mostly\n        an internal function.\n\n        Parameters\n        ==========\n        varname : bytes\n            name of the zVariable. Not this is NOT a string in Python 3!\n        num : int\n            number of the variable\n        scope : bool\n            True if global scope; False if variable scope.\n        "
    self._attr_info[attrname] = (num, scope)
Add an attribute to the name-to-number cache

This maintains a cache of name-to-number mappings for attributes
to keep from having to query the CDF library constantly. It's mostly
an internal function.

Parameters
==========
varname : bytes
    name of the zVariable. Not this is NOT a string in Python 3!
num : int
    number of the variable
scope : bool
    True if global scope; False if variable scope.
def add_attr_to_cache(self, attrname, num, scope):
    "Add an attribute to the name-to-number cache\n\n        This maintains a cache of name-to-number mappings for attributes\n        to keep from having to query the CDF library constantly. It's mostly\n        an internal function.\n\n        Parameters\n        ==========\n        varname : bytes\n            name of the zVariable. Not this is NOT a string in Python 3!\n        num : int\n            number of the variable\n        scope : bool\n            True if global scope; False if variable scope.\n        "
    self._attr_info[attrname] = (num, scope)