
    g                    x    d dl mZ d dlmZmZ d dlmZmZ	  ed      Z
ddZddZ G d de      Zedd	       Zy
)    )annotations)NoReturnTypeVar)definefrozen_Tc                .    t         | _        t        |       S N)_do_not_subclass__init_subclass___defineclss    G/var/www/openai/venv/lib/python3.12/site-packages/referencing/_attrs.pyr   r   
       ,C3<    c                .    t         | _        t        |       S r
   )r   r   _frozenr   s    r   r   r      r   r   c                      e Zd Zd Zy)UnsupportedSubclassingc                     	 y)NzSubclassing is not part of referencing's public API. If no other suitable API exists for what you're trying to do, feel free to file an issue asking for one. )selfs    r   __str__zUnsupportedSubclassing.__str__   s    9	
r   N)__name__
__module____qualname__r   r   r   r   r   r      s    
r   r   c                     t               r
   )r   r   r   r   r   r      s    
 
""r   N)r   type[_T]returnr   )r    r   )
__future__r   typingr   r   attrsr   r   r   r   r   	Exceptionr   staticmethodr   r   r   r   <module>r&      sA    " $ 6T]


Y 
 # #r   