AlkantarClanX12
Current Path : /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/fix_reload.cpython-311.pyc |
� c��f9 � �L � d Z ddlmZ ddlmZmZ G d� dej � � ZdS )z5Fixer for reload(). reload(s) -> importlib.reload(s)� )� fixer_base)� ImportAndCall�touch_importc � � e Zd ZdZdZdZd� ZdS )� FixReloadT�prez� power< 'reload' trailer< lpar='(' ( not(arglist | argument<any '=' any>) obj=any | obj=arglist<(not argument<any '=' any>) any ','> ) rpar=')' > after=any* > c � � |r5|d }|r+|j | j j k r|j d j dv rd S d}t |||� � }t d d|� � |S )N�obj� > �**�*)� importlib�reloadr )�type�syms�argument�children�valuer r )�self�node�resultsr �names�news �?/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_reload.py� transformzFixReload.transform su � �� � �%�.�C�� ��H�� � 2�2�2��L��O�)�[�8�8��F�'���D�'�5�1�1���T�;��-�-�-�� � N)�__name__� __module__�__qualname__� BM_compatible�order�PATTERNr � r r r r s4 � � � � � ��M��E��G�� � � � r r N)�__doc__� r � fixer_utilr r �BaseFixr r# r r �<module>r( sr ��$� $� � � � � � � 4� 4� 4� 4� 4� 4� 4� 4�� � � � � �"� � � � � r