o
    ªZhT  ã                   @  sò   U d Z ddlmZ ddlZddlmZmZ ddlmZ dZ	de
d< e d	¡Zeee e	¡ƒZe ¡ Zeed ƒZeed
 ƒZeed ƒZed  d¡ZeeefZde
d< er^eeeedƒfZdZde
d< ddd„Zddd„Zddd„Zg d¢ZdS )z PyZMQ and 0MQ version functions.é    )ÚannotationsN)ÚMatchÚcast)Úzmq_version_infoz26.2.0ÚstrÚ__version__z(\d+)\.(\d+)\.(\d+)(.*)é   é   é   Ú.ú2tuple[int, int, int] | tuple[int, int, int, float]Úversion_infoÚinfÚ Ú__revision__Úreturnc                   C  s   t rd tt dd… g¡S tS )z'return the version of pyzmq as a stringú+Né   )r   Újoinr   © r   r   úH/var/www/html/lang_env/lib/python3.10/site-packages/zmq/sugar/version.pyÚpyzmq_version'   s   r   c                   C  s   t S )zšreturn the pyzmq version as a tuple of at least three numbers

    If pyzmq is a development version, `inf` will be appended after the third integer.
    )r   r   r   r   r   Úpyzmq_version_info/   s   r   c                   C  s   dj tƒ Ž S )z(return the version of libzmq as a stringz{}.{}.{})Úformatr   r   r   r   r   Úzmq_version7   s   r   )r   r   r   r   r   r   )r   r   )r   r   )Ú__doc__Ú
__future__r   ÚreÚtypingr   r   Zzmq.backendr   r   Ú__annotations__ÚcompileZ_version_patÚmatchZ_matchÚgroupsZ_version_groupsÚintZVERSION_MAJORZVERSION_MINORZVERSION_PATCHÚlstripZVERSION_EXTRAr   Úfloatr   r   r   r   Ú__all__r   r   r   r   Ú<module>   s8    
ýü


