U
    h                     @   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__ Z/var/www/html/venv/lib/python3.8/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__Zlib2to3.fixes.fix_xranger   Zlibfuturize.fixer_utilr   r   r   r   r   r   <module>   s   
