Your IP : 216.73.217.129


Current Path : /opt/alt/python36/lib64/python3.6/test/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/test/__pycache__/mod_generics_cache.cpython-36.pyc

3

� f��@s�dZddlZddlmZddlmZmZmZejdd�dkrLe	ed��nLe
ed	ed
d�ZdZdZ
ed�ZGd
d	�d	ee�ZGdd
�d
ee�ZdS)zEModule for testing the behavior of generics across different modules.�N)�dedent)�TypeVar�Generic�Optional���af
    default_a: Optional['A'] = None
    default_b: Optional['B'] = None

    T = TypeVar('T')


    class A(Generic[T]):
        some_b: 'B'


    class B(Generic[T]):
        class A(Generic[T]):
            pass

        my_inner_a1: 'B.A'
        my_inner_a2: A
        my_outer_a: 'A'  # unless somebody calls get_type_hints with localns=B.__dict__
    �A�B)�	default_a�	default_b�Tc@seZdZedd�ZdS)r	r
)Zsome_bN)�__name__�
__module__�__qualname__�dict�__annotations__�rr�</opt/alt/python36/lib64/python3.6/test/mod_generics_cache.pyr	'sc@s.eZdZGdd�dee�Zededd�ZdS)r
c@seZdZdS)zB.AN)rrrrrrrr	.sr	zB.A)Zmy_inner_a1Zmy_inner_a2Z
my_outer_aN)rrrrr
r	rrrrrrr
-s
)rr)�__doc__�sys�textwraprZtypingrrr�version_info�execrrrrr
r	r
rrrr�<module>s