B
    u9aÀ  ã               @   s4   d Z dd„ ZG dd„ dƒZG dd„ dƒZdd„ Zd	S )
zŒ
Correct syntax for variable annotation that should fail at runtime
in a certain manner. More examples are in test_grammar and test_parser.
c               C   s   dt d< d S )Né   é   )Ú__annotations__© r   r   ú!/usr/lib/python3.7/ann_module3.pyÚ	f_bad_ann   s    r   c               @   s   e Zd Zeddœdd„ZdS )ÚC_OKN)ÚxÚreturnc             C   s
   || _ d S )N)r   )Úselfr   r   r   r   Ú__init__
   s    zC_OK.__init__)Ú__name__Ú
__module__Ú__qualname__Úintr   r   r   r   r   r   	   s   r   c               @   s   e Zd Zeddœdd„ZdS )Ú	D_bad_annN)r   r	   c             C   s
   dt _d S )Né    )ZsfelÚy)r
   r   r   r   r   r      s    zD_bad_ann.__init__)r   r   r   r   r   r   r   r   r   r      s   r   c               C   s
   dt _d S )Nr   )Zno_such_nameÚattrr   r   r   r   Ú	g_bad_ann   s    r   N)Ú__doc__r   r   r   r   r   r   r   r   Ú<module>   s   