HEX
Server: LiteSpeed
System: Linux shams.tasjeel.ae 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: infowars (1469)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //opt/alt/python34/lib64/python3.4/lib2to3/fixes/__pycache__/fix_callable.cpython-34.pyc
�
� f�@s[dZddlmZddlmZmZmZmZmZGdd�dej	�Z
dS)z�Fixer for callable().

This converts callable(obj) into isinstance(obj, collections.Callable), adding a
collections import if needed.�)�
fixer_base)�Call�Name�String�Attr�touch_importc@s.eZdZdZdZdZdd�ZdS)�FixCallableTZprea
    power< 'callable'
           trailer< lpar='('
                    ( not(arglist | argument<any '=' any>) func=any
                      | func=arglist<(not argument<any '=' any>) any ','> )
                    rpar=')' >
           after=any*
    >
    cCss|d}tddd|�|j�td�g}|jttd�td���ttd�|d|j�S)N�func�collections�nodez, �Callable�
isinstance�prefix)rZcloner�extendrrrr)�selfrZresultsr	�args�r�?/opt/alt/python34/lib64/python3.4/lib2to3/fixes/fix_callable.py�	transforms

"zFixCallable.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZorderZPATTERNrrrrrr
srN)�__doc__Zlib2to3rZlib2to3.fixer_utilrrrrrZBaseFixrrrrr�<module>s(