File: //opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_xrange_with_import.pyc
�
�A�[c           @   s@   d  Z  d d l m Z d d l m Z d e f d �  �  YZ d S(   s�   
For the ``future`` package.
Turns any xrange calls into range calls and adds this import line:
    from builtins import range
at the top.
i����(   t	   FixXrange(   t   touch_import_topt   FixXrangeWithImportc           B   s   e  Z d  �  Z RS(   c         C   s/   t  t |  � j | | � } t d d | � | S(   Nt   builtinst   range(   t   superR   t	   transformR   (   t   selft   nodet   resultst   result(    (    sY   /opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_xrange_with_import.pyR      s    (   t   __name__t
   __module__R   (    (    (    sY   /opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_xrange_with_import.pyR      s   N(   t   __doc__t   lib2to3.fixes.fix_xrangeR    t   libfuturize.fixer_utilR   R   (    (    (    sY   /opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_xrange_with_import.pyt   <module>	   s