openpyxl.utils.bound_dictionary module¶
- class openpyxl.utils.bound_dictionary.BoundDictionary(reference=None, *args, **kw)[源代码]¶
基类:
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.