
    Kc                     &    d Z  G d de          ZdS )zJYet another implementation of bunch

attribute-access of items on a dict.
c                   $    e Zd ZdZd Zd Zd ZdS )BunchzA dict with attribute-accessc                 r    	 |                      |          S # t          $ r}t          |          |d }~ww xY wN)__getitem__KeyErrorAttributeError)selfkeyes      5lib/python3.11/site-packages/traitlets/utils/bunch.py__getattr__zBunch.__getattr__   sJ    	-##C((( 	- 	- 	- %%1,	-s    
616c                 2    |                      ||           d S r   )__setitem__)r	   r
   values      r   __setattr__zBunch.__setattr__   s    e$$$$$    c                 r    t          i           }|                    |                                            |S r   )dirextendkeys)r	   namess     r   __dir__zBunch.__dir__   s,    BTYY[[!!!r   N)__name__
__module____qualname____doc__r   r   r    r   r   r   r   
   sG        &&- - -% % %    r   r   N)r   dictr   r   r   r   <module>r      sC        D     r   