Your IP : 3.133.155.48


Current Path : /opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/fix_reload.cpython-312.pyc

�

�Q�f9��N�dZddlmZddlmZmZGd�dej�Zy)z5Fixer for reload().

reload(s) -> importlib.reload(s)�)�
fixer_base)�
ImportAndCall�touch_importc��eZdZdZdZdZd�Zy)�	FixReloadT�prez�
    power< 'reload'
           trailer< lpar='('
                    ( not(arglist | argument<any '=' any>) obj=any
                      | obj=arglist<(not argument<any '=' any>) any ','> )
                    rpar=')' >
           after=any*
    >
    c���|rF|d}|r?|j|jjk(r|jdjdvryd}t|||�}t
dd|�|S)N�obj�>�**�*)�	importlib�reloadr)�type�syms�argument�children�valuerr)�self�node�resultsr
�names�news      �?/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_reload.py�	transformzFixReload.transformsf����%�.�C���H�H��	�	� 2� 2�2��L�L��O�)�)�[�8��'���D�'�5�1���T�;��-��
�N)�__name__�
__module__�__qualname__�
BM_compatible�order�PATTERNr�rrrr
s���M��E��G�rrN)�__doc__�r�
fixer_utilrr�BaseFixrr#rr�<module>r(s$��$�
�4��
�"�"�r

?>