File: //opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_print_with_import.pyo
�
�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 print statements into functions and adds this import line:
    from __future__ import print_function
at the top to retain compatibility with Python 2.6+.
i����(   t   FixPrint(   t
   future_importt   FixPrintWithImportc           B   s   e  Z d  Z d �  Z RS(   i   c         C   s,   t  d | � t t |  � j | | � } | S(   Nu   print_function(   R   t   superR   t	   transform(   t   selft   nodet   resultst   n_stmt(    (    sX   /opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_print_with_import.pyR      s    
(   t   __name__t
   __module__t	   run_orderR   (    (    (    sX   /opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_print_with_import.pyR      s   N(   t   __doc__t   libfuturize.fixes.fix_printR    t   libfuturize.fixer_utilR   R   (    (    (    sX   /opt/alt/python27/lib/python2.7/site-packages/libfuturize/fixes/fix_print_with_import.pyt   <module>	   s