
    daf`                     \   U d Z ddlmZ ddlmZ ded<    G d d      ZddlmZ d	Ze	ed
<   eZ
eed<   ee	e	f   ed<    G d de      ZdZe  G d de      ZddlmZ  edef      Z ed      Z G d d      Z G d de      Z G d de      Z G d de      Zd"d
e	fdZd Ze	ez  ed <   y!)#zw
The module for testing variable annotations.
Empty lines above are for good reason (testing for correct line numbers)
    )Optionalwraps      c                   &    e Zd ZU dZdZed    ed<   y)C   Ny)__name__
__module____qualname__xr   r   __annotations__     8/root/Python-3.12.4/Lib/test/typinganndata/ann_module.pyr	   r	      s    	Ad1hsm"r   r	   )Tupler
   r   r   fc                   &    e Zd ZU ded<   eZeed<   y)M{   123oN)r   r   r   r   objectr   typer   r   r   r   r      s     OEAtr   r   Tc                   *    e Zd ZU dZeed<   dZeed<   y)DhijbyekN)r   r   r   r    strr   r"   r   r   r   r   r      s    AsM51c=r   r   )	new_classHJc                   "    e Zd ZU dZeed<   d Zy)Fr
   zc                      y Nr   )selfr   s     r   __init__z
F.__init__$   s    r   N)r   r   r   r)   intr   r-   r   r   r   r(   r(   "   s    AsJr   r(   c                        e Zd Z fdZ xZS )Yc                 ,    t         t        |   d       y )Nr   )superr(   r-   )r,   	__class__s    r   r-   z
Y.__init__(   s    a$r   )r   r   r   r-   __classcell__r3   s   @r   r0   r0   '   s    % %r   r0   c                        e Zd Z fdZ xZS )Metac                 (    t         |   | |||      S r+   )r2   __new__)metanamebases	namespacer3   s       r   r9   zMeta.__new__,   s    wtT5)<<r   )r   r   r   r9   r4   r5   s   @r   r7   r7   +   s    = =r   r7   c                   *    e Zd ZU dZeed<   dZeed<   y)S	somethingr   zsomething elser   N)r   r   r   r   r#   r   r   r   r   r   r?   r?   /   s    AsAsr   r?   )	metaclassc                 4    dt         t           fd} |        y )Nr   c                     d}y )Nyesr   )r   r   s     r   barzfoo.<locals>.bar4   s    r   )Listr#   )r   rE   s     r   foorG   3   s    tCy Er   c                 .     t                fd       }|S )Nc                       | i |S r+   r   )argskwargsfuncs     r   wrapperzdec.<locals>.wrapper9   s    T$V$$r   r   )rL   rM   s   ` r   decrN   8   s    
4[% %Nr   uN)
   )__doc__typingr   	functoolsr   r   r	   r   r   r.   r   r#   r   r   parsboolr   typesr$   h_classj_classr(   r0   r7   r?   rG   rN   floatr   r   r   <module>rZ      s   
   # # 	
3
QAsJ5c?* 
 ! ! 
C!

C. 
% %=4 =D 
3 

 ;r   