§
    ž²ÅjÙ  ã            
       óæ   — d Z ddlZddlmZmZmZ ddlmZ dgZ ed¦  «        Z	 ed¦  «        Z
 G d	„ d
¦  «        Z eej        ¦  «        efdee
e	ge
f         dee	         de
de
fd„¦   «         ZdS )z 
Python polyfills for functools
é    N)ÚCallableÚIterableÚTypeVaré   )Úsubstitute_in_graphÚreduceÚ_TÚ_Uc                   ó   — e Zd ZdS )Ú_INITIAL_MISSINGN)Ú__name__Ú
__module__Ú__qualname__© ó    úRC:\Projects\Historical\venv\Lib\site-packages\torch/_dynamo/polyfills/functools.pyr   r      s   € € € € € Ø€Dr   r   ÚfunctionÚiterableÚinitialÚreturnc                óº   — t          |¦  «        }|t          u r/	 t          |¦  «        }n # t          $ r t	          d¦  «        d ‚w xY w|}|D ]} | ||¦  «        }Œ|S )Nz0reduce() of empty iterable with no initial value)Úiterr   ÚnextÚStopIterationÚ	TypeError)r   r   r   ÚitÚvalueÚelements         r   r   r      s�   € õ 
ˆh‰Œ€Bð Õ"Ð"Ð"ð	Ý˜‘H”HˆEˆEøÝð 	ð 	ð 	ÝØBñô àðð	øøøð
 ˆàð )ð )ˆØ�˜ Ñ(Ô(ˆˆà€Ls	   š* ªA)Ú__doc__Ú	functoolsÚtypingr   r   r   Ú
decoratorsr   Ú__all__r	   r
   r   r   r   r   r   ú<module>r$      s  ððð ð Ð Ð Ð Ø .Ð .Ð .Ð .Ð .Ð .Ð .Ð .Ð .Ð .à ,Ð ,Ð ,Ð ,Ð ,Ð ,ð ˆ*€ð €WˆT�]„]€Ø€WˆT�]„]€ð	ð 	ð 	ð 	ð 	ñ 	ô 	ð 	ð
 Ð�YÔ%Ñ&Ô&ð #ðð Ø˜˜B�x �|Ô$ðà�rŒlðð ðð
 ðð ð ñ 'Ô&ðð ð r   