o
    áË·eß  ã                   @   s0   d Z ddlmZ ddlmZ G dd„ deƒZdS )zŽ
For the ``future`` package.

Turns any xrange calls into range calls and adds this import line:

    from builtins import range

at the top.
é    )Ú	FixXrange)Útouch_import_topc                       s   e Zd Z‡ fdd„Z‡  ZS )ÚFixXrangeWithImportc                    s"   t t| ƒ ||¡}tdd|ƒ |S )NÚbuiltinsÚrange)Úsuperr   Ú	transformr   )ÚselfÚnodeÚresultsÚresult©Ú	__class__© ú_/var/www/ideatree/venv/lib/python3.10/site-packages/libfuturize/fixes/fix_xrange_with_import.pyr      s   zFixXrangeWithImport.transform)Ú__name__Ú
__module__Ú__qualname__r   Ú__classcell__r   r   r   r   r      s    r   N)Ú__doc__Úlib2to3.fixes.fix_xranger   Úlibfuturize.fixer_utilr   r   r   r   r   r   Ú<module>   s    
