File: //opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_division_safe.pyc
�
�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<