|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /opt/alt-old/python27/lib/python2.7/site-packages/libfuturize/fixes/ |
Upload File : |
�
�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