![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /lib/python2.7/site-packages/libfuturize/fixes/ |
� ,�]c @ sC d Z d d l m Z d d l m Z d e j f d � � YZ d S( s� Fixer for removing any of these lines: from __future__ import with_statement from __future__ import nested_scopes from __future__ import generators The reason is that __future__ imports like these are required to be the first line of code (after docstrings) on Python 2.6+, which can get in the way. These imports are always enabled in Python 2.6+, which is the minimum sane version to target for Py2/3 compatibility. i����( t fixer_base( t remove_future_importt FixRemoveOldFutureImportsc B s# e Z e Z d Z d Z d � Z RS( t file_inputi c C s+ t d | � t d | � t d | � d S( Nu with_statementu nested_scopesu generators( R ( t selft nodet results( ( sU /usr/lib/python2.7/site-packages/libfuturize/fixes/fix_remove_old__future__imports.pyt transform s ( t __name__t __module__t Truet BM_compatiblet PATTERNt run_orderR ( ( ( sU /usr/lib/python2.7/site-packages/libfuturize/fixes/fix_remove_old__future__imports.pyR s N( t __doc__t lib2to3R t libfuturize.fixer_utilR t BaseFixR ( ( ( sU /usr/lib/python2.7/site-packages/libfuturize/fixes/fix_remove_old__future__imports.pyt <module> s