HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/libfuturize/fixes/__pycache__/fix_cmp.cpython-310.pyc
o

,�]��@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)�self�node�resultsr�r�;/usr/lib/python3/dist-packages/libfuturize/fixes/fix_cmp.py�	transformszFixCmp.transformN)	�__name__�
__module__�__qualname__�
BM_compatible�	run_order�format�
expression�PATTERNrrrrr
rs�rN)
�__doc__�
__future__r�lib2to3r�libfuturize.fixer_utilrr�BaseFixrrrrr
�<module>s