U
    h                     @   s0   d Z ddlmZ ddlmZ G dd deZdS )z
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+.
    )FixPrint)future_importc                       s    e Zd ZdZ fddZ  ZS )FixPrintWithImport   c                    s    t d| tt| ||}|S )Nprint_function)r   superr   	transform)selfnoderesultsZn_stmt	__class__ Y/var/www/html/venv/lib/python3.8/site-packages/libfuturize/fixes/fix_print_with_import.pyr      s    
zFixPrintWithImport.transform)__name__
__module____qualname__Z	run_orderr   __classcell__r   r   r   r   r      s   r   N)__doc__Zlibfuturize.fixes.fix_printr   Zlibfuturize.fixer_utilr   r   r   r   r   r   <module>   s   
