o
    I&i                     @   s:   d Z ddlZdd Zdd Zddd	Zd
d Zdd ZdS )z'
Python polyfills for common builtins.
    Nc                 C   s   | D ]}|s	 dS qdS )NFT iteratorelemr   r   AC:\wamp64\www\opt\env\Lib\site-packages\torch/_dynamo/polyfill.pyall   
   r   c                 C   s   | D ]}|r	 dS qdS )NTFr   r   r   r   r   any   r   r	   c                 C   sD   t t| || D ]\}}||kr|  S q
t| dt|  )Nz is not in )	enumeratelist
ValueErrortype)r   itemstartendir   r   r   r   index   s
   r   c                 c   s    t |D ]}| V  qd S )N)range)r   countr   r   r   r   repeat   s   r   c                 C   s   t jd |  S )Ng     f@)mathpi)xr   r   r   radians"   s   r   )r   r
   )__doc__r   r   r	   r   r   r   r   r   r   r   <module>   s    
