MOON
Server: Apache
System: Linux server30c.hostingraja.org 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64
User: jibhires (1887)
PHP: 8.1.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, escapeshellcmd, pcntl_exec
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/libfuturize/fixes/__pycache__/fix_cmp.cpython-37.pyc
B

�A�[��@sBdZddlmZddlmZddlmZdZGdd�dej�Z	dS)	z�
Fixer for the cmp() function on Py2, which was removed in Py3.

Adds this import line::

    from past.builtins import cmp

if cmp() is called in the code.
�)�unicode_literals)�
fixer_base)�touch_import_topz
name='cmp'c@s&eZdZdZdZd�e�Zdd�ZdS)�FixCmpT�	zs
              power<
                 ({0}) trailer< '(' args=[any] ')' >
              rest=any* >
              cCs|d}td|j|�dS)N�namez
past.builtins)r�value)�selfZnode�resultsr�r�J/opt/alt/python37/lib/python3.7/site-packages/libfuturize/fixes/fix_cmp.py�	transformszFixCmp.transformN)	�__name__�
__module__�__qualname__Z
BM_compatibleZ	run_order�format�
expressionZPATTERNr
rrrrrs
rN)
�__doc__Z
__future__rZlib2to3rZlibfuturize.fixer_utilrrZBaseFixrrrrr�<module>
s