def from_dict(self, in_dict):
    '\n        Fill this list of attributes from a dictionary\n\n        .. deprecated:: 0.1.5\n           Use :meth:`~pycdf.AttrList.clone` instead; it supports\n           cloning from dictionaries.\n\n        Parameters\n        ==========\n        in_dict : dict\n            Attribute list is populated entirely from this dictionary;\n            all existing attributes are deleted.\n        '
    warnings.warn('from_dict is deprecated and will be removed. Use clone.', DeprecationWarning)
    for k in in_dict:
        self[k] = in_dict[k]
    for k in list(self):
        if (not (k in in_dict)):
            del self[k]
Fill this list of attributes from a dictionary

.. deprecated:: 0.1.5
   Use :meth:`~pycdf.AttrList.clone` instead; it supports
   cloning from dictionaries.

Parameters
==========
in_dict : dict
    Attribute list is populated entirely from this dictionary;
    all existing attributes are deleted.
def from_dict(self, in_dict):
    '\n        Fill this list of attributes from a dictionary\n\n        .. deprecated:: 0.1.5\n           Use :meth:`~pycdf.AttrList.clone` instead; it supports\n           cloning from dictionaries.\n\n        Parameters\n        ==========\n        in_dict : dict\n            Attribute list is populated entirely from this dictionary;\n            all existing attributes are deleted.\n        '
    warnings.warn('from_dict is deprecated and will be removed. Use clone.', DeprecationWarning)
    for k in in_dict:
        self[k] = in_dict[k]
    for k in list(self):
        if (not (k in in_dict)):
            del self[k]