o
    ¯ªRhÒ  ã                   @   s&  U d Z ddlZddlZddlZddlmZ ddlmZ zddlZ	W n e
y<   zddl	Z	W n e
y9   dZ	Y nw Y nw dZee ed< zddlZW n ee
efyY   dZY nw eeee dej¡ ¡ ƒƒZedk rndZejdksxejd	krƒd
ejddfdd„Zn
d
ejddfdd„ZddgZdS )z“
The _compat module is used for code which requires branching between different
Python environments. It is excluded from the code coverage checks.
é    N)Ú
ModuleType)ÚOptionalÚzstdz^([0-9]+)\.([0-9]+))r   é   )é   é
   )é   r   r   é   ÚcontextÚreturnc                 C   s   t jj| _d S ©N)ÚsslÚ
TLSVersionÚTLSv1_2Úminimum_version©r
   © r   úO/home/air/sanwanet/backup_V2/venv/lib/python3.10/site-packages/httpx/_compat.pyÚset_minimum_tls_version_1_2+   s   r   c                 C   sD   |  j tjO  _ |  j tjO  _ |  j tjO  _ |  j tjO  _ d S r   )Úoptionsr   ÚOP_NO_SSLv2ÚOP_NO_SSLv3ÚOP_NO_TLSv1ÚOP_NO_TLSv1_1r   r   r   r   r   6   s   Úbrotli)Ú__doc__Úrer   ÚsysÚtypesr   Útypingr   Ú
brotlicffir   ÚImportErrorr   Ú__annotations__Ú	zstandardÚAttributeErrorÚ
ValueErrorÚtupleÚmapÚintÚsearchÚ__version__ÚgroupsÚ_zstd_versionÚversion_infoÚOPENSSL_VERSION_INFOÚ
SSLContextr   Ú__all__r   r   r   r   Ú<module>   s>    ÿ€ýÿÿ	