B
    b
,cD  ã               @   s>  U d Z ddlZddlmZmZmZmZ ddlmZ dZ	e
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eeeeef eeeeef f ed< erÖeeeedƒfZdZe
ed< e
dœdd„Zeeeeef eeeeef f dœdd„Ze
dœdd„ZddddddgZdS )z PyZMQ and 0MQ version functions.é    N)ÚMatchÚTupleÚUnionÚcast)Úzmq_version_infoz24.0.1Ú__version__z(\d+)\.(\d+)\.(\d+)(.*)é   é   é   Ú.Úversion_infoÚinfÚ Ú__revision__)Úreturnc               C   s"   t rd tt dd… g¡S tS dS )z'return the version of pyzmq as a stringú+Né   )r   Újoinr   © r   r   ú0lib/python3.7/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t ƒ  S )z(return the version of libzmq as a stringz%i.%i.%i)r   r   r   r   r   Úzmq_version6   s    r   r   )Ú__doc__ÚreÚtypingr   r   r   r   Zzmq.backendr   r   ÚstrÚ__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>   s:   
,
,