
    Fwg                     6    d Z ddlmZ ddlmZ  G d de      Zy)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                   "     e Zd ZdZ fdZ xZS )FixPrintWithImport   c                 H    t        d|       t        t        |   ||      }|S )Nprint_function)r   superr   	transform)selfnoderesultsn_stmt	__class__s       ^/var/www/horilla/myenv/lib/python3.12/site-packages/libfuturize/fixes/fix_print_with_import.pyr   zFixPrintWithImport.transform   s)     	'.)4:4I    )__name__
__module____qualname__	run_orderr   __classcell__)r   s   @r   r   r      s    I r   r   N)__doc__libfuturize.fixes.fix_printr   libfuturize.fixer_utilr   r    r   r   <module>r      s    1 0 r   