
    	h                     &    S SK Jr   " S S\5      rg)    )defaultdictc                   <   ^  \ rS rSrSrSU 4S jjrU 4S jrSrU =r$ )BoundDictionary   a
  
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.
c                 2   > Xl         [        TU ]  " U0 UD6  g N)	referencesuper__init__)selfr	   argskw	__class__s       Q/var/www/html/env/lib/python3.13/site-packages/openpyxl/utils/bound_dictionary.pyr   BoundDictionary.__init__   s    "$%"%    c                 l   > [         TU ]  U5      nU R                  b  [        X R                  U5        U$ r   )r
   __getitem__r	   setattr)r   keyvaluer   s      r   r   BoundDictionary.__getitem__   s/    #C(>>%E>>3/r   )r	   r   )	__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes____classcell__)r   s   @r   r   r      s    &
 r   r   N)collectionsr   r    r   r   <module>r"      s    $k r   