openpyxl.utils.bound_dictionary module¶
-
class
openpyxl.utils.bound_dictionary.
BoundDictionary
(reference=None, *args, **kw)[source]¶ Bases:
collections.defaultdict
A default dictionary where elements are tightly coupled.
The factory method is responsible for binding the parent object to the child.
If a reference attribute is assigned then child objects will have the key assigned to this.
Otherwise it’s just a defaultdict.