관리-도구
편집 파일: fix_print_with_import.cpython-37.pyc
B �A�[� � @ s0 d Z ddlmZ ddlmZ G dd� de�ZdS )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 Zd ZdZ� fdd�Z� ZS )�FixPrintWithImport� c s t d|� tt| ��||�}|S )N�print_function)r �superr � transform)�self�node�resultsZn_stmt)� __class__� �X/opt/alt/python37/lib/python3.7/site-packages/libfuturize/fixes/fix_print_with_import.pyr s zFixPrintWithImport.transform)�__name__� __module__�__qualname__Z run_orderr � __classcell__r r )r r r s r N)�__doc__Zlibfuturize.fixes.fix_printr Zlibfuturize.fixer_utilr r r r r r �<module> s