%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/core/17212/usr/lib/python3.5/lib2to3/fixes/__pycache__/
Upload File :
Create Path :
Current File : //snap/core/17212/usr/lib/python3.5/lib2to3/fixes/__pycache__/fix_callable.cpython-35.pyc



|�g�@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�0/usr/lib/python3.5/lib2to3/fixes/fix_callable.py�	transforms

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

Zerion Mini Shell 1.0