o
    öXœiw  ã                   @   s^   d Z ddlZddlmZ ddlmZ ejdkreZdS eZddee dee d	e	fd
d„ZdS )z&Polyfill for Python builtin functions.é    N)ÚSequence)ÚAny)é   é
   FÚaÚbÚstrictc                 C   s&   t | ƒt |ƒkr|rtdƒ‚t| |ƒS )zÝPolyfill for Python's zip function.

        This is a special version which only supports two Sequence inputs.

        Raises:
            ValueError: If the iterables have different lengths and strict is True.
        z$zip() argument lengths must be equal)ÚlenÚ
ValueErrorÚ_python_zip)r   r   r   © r   úE/home/ubuntu/.local/lib/python3.10/site-packages/onnx_ir/_polyfill.pyÚzip   s   
r   )F)
Ú__doc__ÚsysÚcollections.abcr   Útypingr   Úversion_infor   r   Úboolr   r   r   r   Ú<module>   s   
$