|
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 Z d d l j Z d d l m Z m Z m Z d d l m Z d d l m
Z
m Z d d l m
Z
m Z m Z m Z d � Z e j d � Z d � Z d
� Z d � Z d � Z d
e j f d � � YZ d S( sL
For the ``future`` package.
Adds this import line:
from __future__ import division
at the top and changes any old-style divisions to be calls to
past.utils.old_div so the code runs as before on Py2.6/2.7 and has the same
behaviour on Py3.
If "from __future__ import division" is already in effect, this fixer does
nothing.
i����N( t Leaft Nodet Comma( t
fixer_base( t symst does_tree_import( t tokent
future_importt touch_import_topt wrap_in_fn_callc C s<