Your IP : 3.145.58.141
o
6��f9 � @ s6 d Z ddlmZ ddlmZmZ G dd� dej�ZdS )z5Fixer for reload().
reload(s) -> importlib.reload(s)� )�
fixer_base)�
ImportAndCall�touch_importc @ s e Zd ZdZdZdZdd� ZdS )� FixReloadTZprez�
power< 'reload'
trailer< lpar='('
( not(arglist | argument<any '=' any>) obj=any
| obj=arglist<(not argument<any '=' any>) any ','> )
rpar=')' >
after=any*
>
c C sR |r|d }|r|j | jjkr|jd jdv rd S d}t|||�}td d|� |S )N�obj� > �*z**)� importlib�reloadr )�typeZsymsZargument�children�valuer r )�selfZnodeZresultsr �names�new� r �?/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_reload.py� transform s zFixReload.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZorderZPATTERNr r r r r r
s
r N)�__doc__� r Z
fixer_utilr r ZBaseFixr r r r r �<module> s