o
    "“ir  ã                   @   s~   U d Z ddlmZmZmZmZ ddlmZ ddlm	Z	 edƒZ
eegef Zeed< 	 de
d	e
fd
d„Zded	efdd„ZdS )zUseful internal functions.é    )ÚAnyÚCallableÚNoReturnÚTypeVaré   )Ú	TypeAlias©ÚStructureHandlerNotFoundErrorÚTÚ	PredicateÚobjÚreturnc                 C   s   | S )zThe identity function.© )r   r   r   úJ/var/www/html/premium_crap/venv/lib/python3.10/site-packages/cattrs/fns.pyÚidentity   s   r   Úclc                 C   s   d|›d�}t ||d�‚)zGAt the bottom of the condition stack, we explode if we can't handle it.zUnsupported type: z#. Register a structure hook for it.)Útype_r   )Ú_r   Úmsgr   r   r   Úraise_error   s   r   N)Ú__doc__Útypingr   r   r   r   Ú_compatr   Úerrorsr	   r
   Úboolr   Ú__annotations__r   r   r   r   r   r   Ú<module>   s    