cf.Dict

class cf.Dict(*args, **kwargs)[source]

Bases: _abcoll.MutableMapping

A dictionary-like object with attributes.

Initialization

Parameters:
args, kwargs : optional

Keys and values are initialized exactly as for a built-in dict.

Dict methods

copy Return a deep copy.
equals True if two instances are logically equal, False otherwise.

Dict dict-like methods

These methods provide functionality exactly as their counterparts in a built-in dict.

clear
get
has_key
items
iteritems
iterkeys
itervalues
keys
pop
popitem
setdefault
update
values

Table Of Contents

Previous topic

cf.Coordinate.where

Next topic

cf.Dict.copy

This Page