o
    GXîhd  ã                   @  sz   U d dl mZ dZded< dZded< G dd	„ d	ƒZddd„Zddd„Zddd„ZG dd„ dƒZ	dd„ Z
G dd„ dƒZdS )é    )Úannotationsé   ÚintÚaZfooÚstrÚbc                   @  s6   e Zd ZU dZded< dZded< dd„ Zd	d
„ ZdS )ÚMyClassé   r   r   Zbarr   r   c                 C  s   || _ || _d S ©N©r   r   )Úselfr   r   © r   úM/opt/python-3.10.19/usr/lib/python3.10/test/inspect_stringized_annotations.pyÚ__init__	   s   
zMyClass.__init__c                 C  s"   t |tƒo| j|jko| j|jkS r
   )Ú
isinstancer   r   r   )r   Úotherr   r   r   Ú__eq__   s   "zMyClass.__eq__N)Ú__name__Ú
__module__Ú__qualname__r   Ú__annotations__r   r   r   r   r   r   r   r      s
   
 r   Úreturnc                 C  s
   t | |ƒS r
   )r   r   r   r   r   Úfunction   s   
r   ú'str'Úcc                 C  ó   d S r
   r   ©r   r   r   r   r   r   Ú	function2   ó   r   ú'int'ú	'MyClass'c                 C  r   r
   r   r   r   r   r   Ú	function3   r   r!   c                   @  s   e Zd ZdS )ÚUnannotatedClassN)r   r   r   r   r   r   r   r"      s    r"   c                 C  r   r
   r   r   r   r   r   Úunannotated_function   s    r#   c                   @  s   e Zd ZU eZded< dS )ÚMyClassWithLocalAnnotationsÚmytypeÚxN)r   r   r   r   r%   r   r   r   r   r   r$       s   
 r$   N)r   r   r   r   r   r   )r   r   r   r   r   r   r   r   )r   r   r   r   r   r    )Z
__future__r   r   r   r   r   r   r   r!   r"   r#   r$   r   r   r   r   Ú<module>   s    
	

